[rt-users] Keep some HTML tags attributes

Thomas Sibley trs at bestpractical.com
Tue May 1 09:46:51 EDT 2012


On 05/01/2012 07:21 AM, Rabin Yasharzadehe wrote:
> Hello list,
> 
> I enabled HTML for my templates and in SiteConfig enabled
> 
>     Set($PreferRichText, true);
>     Set($TrustHTMLAttachments, 1);
> 
> 
> But, I'm looking for a way to allow some HTML attributes into RT tickets,
> specifically to allow the dir="RTL" attribute

RT 4.0.6 will allow these attributes.

https://github.com/bestpractical/rt/commit/a625c19e

> right now RT strip some of the attributes e.g it's not removing all
> the attributes of the font tag
> from where can I control this behavior ?

You don't say what RT version you're using, and the answer depends on that.

Thomas



More information about the rt-users mailing list