6.0.0-beta1
10/17/25

[#5596] highlightquotes.php message parsing
Summary highlightquotes.php message parsing
Queue Horde Base
Queue Version 3.1.4
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester jonrober (at) stanford (dot) edu
Created 08/02/2007 (6651 days ago)
Due
Updated 08/03/2007 (6650 days ago)
Assigned
Resolved 08/03/2007 (6650 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/03/2007 04:10:20 AM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
This was fixed (sort of - the message is displayed) by this commit:

http://cvs.horde.org/co.php?r=1.28&f=framework%2FText_Filter%2FFilter%2Fhighlightquotes.php



... which is in Horde 3.2 (alpha was released today).
08/02/2007 06:00:14 PM jonrober (at) stanford (dot) edu Comment #1
Priority ⇒ 1. Low
New Attachment: undisplayed.eml Download
Queue ⇒ Horde Base
Summary ⇒ highlightquotes.php message parsing
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
A local user has an email that's not displaying any of the text when 
he tries to view it (though it shows when he tries to reply).  I've 
tracked the behavior specifically to the following lines in 
lib/Horde/Text/Filter/highlightquotes.php:

-----

$text = preg_replace_callback('/(\n)(( *(>\s?)+(?! 
?>).*?)(\n|$)(?! *(> ?)+))/s',

                                array($this, '_addQuoteToggles'), $text);

-----

Before $text goes through this, it has the user's message.   
Immediately after this line, $text is an empty string.  The message 
exhibiting this behavior is attached.

Saved Queries