<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Personnaly, I rewrote some Attachment and Transaction subs (with
_Local) that uses HTML::TreeBuilder and HTML::FormatText to converts
HTML to plain/text, which in turn can be display in WebUI and used as
transaction content in mail templates. Although we lose some format,
the output is generaly more useful than nothing, what is unpatched RT
returns in theses cases. BTW this also handles text/enriched parts (an
obscure though RFC'ed format mainly produced by Eudora, Qualcomm's
mailer).<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">--
Guillaume Perréal.
Responsable informatique,
Cemagref, groupement de Lyon,
France.
Tél: (+33) 4.72.20.87.87.
Fax: (+33) 4.78.47.78.75.
Site: <a class="moz-txt-link-freetext" href="http://www.lyon.cemagref.fr/">http://www.lyon.cemagref.fr/</a></pre>
<br>
<br>
Ruslan U. Zakirov a écrit :<br>
<blockquote type="cite" cite="mid40311464.7050403@acronis.ru">I've
slightly reworked my patch which clean and disply html parts on WebUI.
<br>
<br>
Our support team find this useful.
<br>
<br>
Installation:
<br>
$> perl -e 'install HTML::Scrubber' -MCPAN
<br>
$> cd /path/to/rt3/
<br>
<br>
test:
<br>
$> cat /path/to/rt3.html_display.patch | patch -p1 --dry-run
<br>
<br>
Hunk #1 succeeded at 66 with fuzz 2.
<br>
Is ok it's just due versions changes.
<br>
<br>
install:
<br>
$> cat /path/to/rt3.html_display.patch | patch -p1
<br>
<br>
revert:
<br>
$> cat /path/to/rt3.html_display.patch | patch -p1 -R
<br>
<br>
Good luck. Ruslan.
<br>
<br>
ps. Feedback is wellcome.
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a>
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/mailman/listinfo/rt-users">http://lists.bestpractical.com/mailman/listinfo/rt-users</a>
Have you read the FAQ? The RT FAQ Manager lives at <a class="moz-txt-link-freetext" href="http://fsck.com/rtfm">http://fsck.com/rtfm</a>
</pre>
</blockquote>
<br>
</body>
</html>