<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>When replying with the HTML editor, the text/plain part contains an extra &quot;&gt;&quot;</title> 
  <pubDate>Fri, 10 Apr 2026 05:02:44 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10481</link> 
  <atom:link rel="self" type="application/rss+xml" title="When replying with the HTML editor, the text/plain part contains an extra &quot;&gt;&quot;" href="https://bugs.horde.org/ticket/10481/rss" /> 
  <description>When replying with the HTML editor, the text/plain part contains an extra &quot;&gt;&quot;</description> 
 
   
   
  <item> 
   <title>In IMP, if I use the HTML editor as my default editor, when </title> 
   <description>In IMP, if I use the HTML editor as my default editor, when I reply to an e-mail, my reply is sent in two forms : text/plain and text/html.

The text/html version contains one single &quot;&gt;&quot; (encoded as &quot;&amp;gt; &quot;) at the beginning of each quoted line.

The text/plain version contains *two* &quot;&gt;&quot; :
&quot;&gt;&gt;&quot; at the first line
&quot;&gt;   &gt;&quot; for the remaining lines.

I can see the same thing if I switch back and forth from the HTML editor to the text editor in the WEB composing page. If my default editor is the text editor, the reply has one &quot;&gt;&quot;. I switch to HTML, then again to text, and this time two &quot;&gt;&quot; appears.
</description> 
   <pubDate>Fri, 02 Sep 2011 14:55:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67246</link> 
  </item> 
   
  <item> 
   <title>Cannot reproduce in IMP 5.</title> 
   <description>Cannot reproduce in IMP 5.</description> 
   <pubDate>Mon, 05 Sep 2011 14:54:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67299</link> 
  </item> 
   
  <item> 
   <title>I will try to produce some case test, if I can dig into the </title> 
   <description>I will try to produce some case test, if I can dig into the code. </description> 
   <pubDate>Tue, 06 Sep 2011 06:43:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67315</link> 
  </item> 
   
  <item> 
   <title>&gt; I will try to produce some case test, if I can dig into th</title> 
   <description>&gt; 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.</description> 
   <pubDate>Tue, 06 Sep 2011 07:27:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67318</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I will try to produce some case test, if I can dig into t</title> 
   <description>&gt;&gt; I will try to produce some case test, if I can dig into the code.
&gt;
&gt; If truly using Framework 3 (e.g. IMP 4), this code is no longer 
&gt; maintained for bug fixes like this.  As Jan mentions, this is not 
&gt; 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 &quot;&gt;&quot; symbols (coded with &quot;&amp;gt;&quot;) *and* by using a global &lt;blockquote&gt; 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 ; &lt;blockquote&gt; is turned into &quot;&gt;&quot; and &quot;&amp;gt;&quot; in another &quot;&gt;&quot;. So I have two &quot;&gt;&quot; at the end of the process.

I think the reply message shoud contain only a &lt;blockquote&gt; tag, *or* &quot;&amp;gt;&quot; at the beginnning of each line, but not both.

If you can&#039;t reproduce that, perhaps something in my configuration generates this (small) bug ?</description> 
   <pubDate>Tue, 06 Sep 2011 07:54:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67321</link> 
  </item> 
   
  <item> 
   <title>I don&#039;t see this after this commit:

commit fc26681c1f61fb</title> 
   <description>I don&#039;t see this after this commit:

commit fc26681c1f61fb9ac720b744d94e2f437aa1c814
Author: Michael M Slusarz &lt;slusarz@curecanti.org&gt;
Date:   Tue Sep 6 13:46:24 2011 -0600

    More intelligent quoting of flowed text messages sent in HTML format.

Even if i did see, not really worth to track down.  HTML -&gt; Text conversion is all sorts of complicated - I&#039;m not going to dwell on small inconsistencies in the converted product, absent someone providing easy-to-apply patches to fix allegedly bad behavior.</description> 
   <pubDate>Tue, 06 Sep 2011 23:21:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67343</link> 
  </item> 
   
  <item> 
   <title>I yesterday had double quotes, too.

Starting an reply in </title> 
   <description>I yesterday had double quotes, too.

Starting an reply in text-mode, switching to HTML and back to text again, inserts extra &gt; which was not there at the beginning.</description> 
   <pubDate>Wed, 07 Sep 2011 06:55:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67347</link> 
  </item> 
   
  <item> 
   <title>&gt; I yesterday had double quotes, too.
&gt;
&gt; Starting an repl</title> 
   <description>&gt; I yesterday had double quotes, too.
&gt;
&gt; Starting an reply in text-mode, switching to HTML and back to text 
&gt; again, inserts extra &gt; which was not there at the beginning.

Once you start doing these kind of multiple conversions, all bets are off.  You really shouldn&#039;t be converting from text -&gt; html -&gt; text.  You are going to lose all sorts of formatting, as the warnings clearly indicate to you.</description> 
   <pubDate>Wed, 07 Sep 2011 07:21:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67349</link> 
  </item> 
   
  <item> 
   <title>&gt; Once you start doing these kind of multiple conversions, a</title> 
   <description>&gt; Once you start doing these kind of multiple conversions, all bets are 
&gt; off.  You really shouldn&#039;t be converting from text -&gt; html -&gt; text.  
&gt; You are going to lose all sorts of formatting, as the warnings 
&gt; clearly indicate to you.

But already in first conversion text-&gt;html the quotes are doubled. The first level will be represented by the blue line (correct), the second level has redundant &gt; (there never was a second level)</description> 
   <pubDate>Wed, 07 Sep 2011 08:41:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67350</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Once you start doing these kind of multiple conversions, </title> 
   <description>&gt;&gt; Once you start doing these kind of multiple conversions, all bets are
&gt;&gt; off.  You really shouldn&#039;t be converting from text -&gt; html -&gt; text.
&gt;&gt; You are going to lose all sorts of formatting, as the warnings
&gt;&gt; clearly indicate to you.
&gt;
&gt; But already in first conversion text-&gt;html the quotes are doubled. 
&gt; The first level will be represented by the blue line (correct), the 
&gt; second level has redundant &gt; (there never was a second level)

Don&#039;t see this.</description> 
   <pubDate>Wed, 07 Sep 2011 09:03:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67353</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Once you start doing these kind of multiple conversions,</title> 
   <description>&gt;&gt;&gt; Once you start doing these kind of multiple conversions, all bets are
&gt;&gt;&gt; off.  You really shouldn&#039;t be converting from text -&gt; html -&gt; text.
&gt;&gt;&gt; You are going to lose all sorts of formatting, as the warnings
&gt;&gt;&gt; clearly indicate to you.
&gt;&gt;
&gt;&gt; But already in first conversion text-&gt;html the quotes are doubled.
&gt;&gt; The first level will be represented by the blue line (correct), the
&gt;&gt; second level has redundant &gt; (there never was a second level)
&gt;
&gt; Don&#039;t see this.

Actually, I guess this could happen if the original text was not flowed text.  But if that is the case, the &#039;&gt;&#039; don&#039;t mean anything.  In other words: you can&#039;t assume that they are quoted lines.

Either way, there is nothing broken here.  This is still all expected behavior.</description> 
   <pubDate>Wed, 07 Sep 2011 09:05:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67354</link> 
  </item> 
   
  <item> 
   <title>See screenshot, what I mean...</title> 
   <description>See screenshot, what I mean...</description> 
   <pubDate>Wed, 07 Sep 2011 09:19:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67355</link> 
  </item> 
   
  <item> 
   <title>&gt; See screenshot, what I mean...

As mentioned previously,</title> 
   <description>&gt; See screenshot, what I mean...

As mentioned previously, this was already fixed.</description> 
   <pubDate>Wed, 07 Sep 2011 16:03:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67358</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; See screenshot, what I mean...
&gt;
&gt; As mentioned previou</title> 
   <description>&gt;&gt; See screenshot, what I mean...
&gt;
&gt; As mentioned previously, this was already fixed.

I confirm, applying the patches (from the git commit) mentioned in the thread earlier solves the bug.

Thank you !</description> 
   <pubDate>Thu, 08 Sep 2011 16:46:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67383</link> 
  </item> 
   
  <item> 
   <title>Just applied your commit, too.

In my case it is working f</title> 
   <description>Just applied your commit, too.

In my case it is working for some mails, for some not.
Try to reply to a mail from the bugtracker, then hit HTML-mode, to convert. A short time the body of the mail is able to be seen, then it flushes away and there ist just &quot;Object&quot; to be seen.</description> 
   <pubDate>Sat, 10 Sep 2011 06:24:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10481#t67403</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
