[Tickets #5596] highlightquotes.php message parsing

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Aug 2 18:00:14 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5596
-----------------------------------------------------------------------
 Ticket             | 5596
 Created By         | jonrober at stanford.edu
 Summary            | highlightquotes.php message parsing
 Queue              | Horde Base
 Version            | 3.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
+New Attachment     | undisplayed.eml
-----------------------------------------------------------------------


jonrober at stanford.edu (2007-08-02 11:00) wrote:

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.



More information about the bugs mailing list