[Tickets #10481] Re: When replying with the HTML editor, the text/plain part contains an extra ">"

bugs at horde.org bugs at horde.org
Tue Sep 6 07:54:48 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/10481
------------------------------------------------------------------------------
  Ticket             | 10481
  Updated By         | xavier.montagutelli at unilim.fr
  Summary            | When replying with the HTML editor, the text/plain part
                     | contains an extra ">"
  Queue              | IMP
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


xavier.montagutelli at unilim.fr (2011-09-06 07:54) wrote:

>> I will try to produce some case test, if I can dig into the code.
>
> If truly using Framework 3 (e.g. IMP 4), this code is no longer  
> maintained for bug fixes like this.  As Jan mentions, this is not  
> seen in IMP 5.

Sorry, I did a mistake when I left the bug report, I am using the  
latest version, IMP 5.0.11 and Horde 4.0.9. My fault.

The problem is that the reply Message is quoted twice when using HTML  
: with ">" symbols (coded with ">") *and* by using a global  
<blockquote> tag added in the function replyMessageText in  
imp/lib/Compose.php (~ line 1624)

When you switch back to text composing, the message is filtered by  
Horde_Text_Filter::filter ; <blockquote> is turned into ">" and "&gt;"  
in another ">". So I have two ">" at the end of the process.

I think the reply message shoud contain only a <blockquote> tag, *or*  
"&gt;" at the beginnning of each line, but not both.

If you can't reproduce that, perhaps something in my configuration  
generates this (small) bug ?





More information about the bugs mailing list