[Tickets #14744] Semantic class to distinct prefix quote and signature from mail content

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Nov 30 10:22:06 UTC 2017


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

Ticket URL: https://bugs.horde.org/ticket/14744
------------------------------------------------------------------------------
  Ticket             | 14744
  Created By         | guenael.muller at algoo.fr
  Summary            | Semantic class to distinct prefix quote and signature
                     | from mail content
  Queue              | Horde Groupware Webmail Edition
  Version            | 5.2.22
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


guenael.muller at algoo.fr (2017-11-30 10:22) wrote:

As far i know, Html mail from Horde doesn't have any semantic id or  
class to distinc prefix-quote part
from mail content and signature from mail content .
Having those may be find to help bot.

An example of hord 5.2.17  body mail :
"""
<p><a href="mailto:machin at bidule.fr">machin at bidule.fr</a> a  
écrit :</p>
<blockquote style="border-left:2px solid  
blue;margin-left:2px;padding-left:12px;" type="cite">
<p>Test</p>
<div>TEST HTML</div>
</blockquote>
<p><br>
<br>
Test</p>
<div>TEST HTML</div>
</body>
</html>
"""

We should have something like :

"""
<p class="prefix_quote"><a  
href="mailto:machin at bidule.fr">machin at bidule.fr</a> a  
écrit :</p>
<blockquote style="border-left:2px solid  
blue;margin-left:2px;padding-left:12px;" type="cite">
<p>Test</p>
<div>TEST HTML</div>
</blockquote>
<p><br>
<br>
Test</p>
<div class="signature">TEST HTML</div>
</body>
</html>
"""

Instead.





More information about the bugs mailing list