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
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 ?
Thanks,
Rabin Yasharzadehe*
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.
committed 02:26PM - 03 Apr 12 UTC
The <bdo> element and lang/dir attributes are used in mixed language
contexts an… d they are often essential for correct display. CKEditor
will also generate the attributes if properly configured, so RT
shouldn't scrub them out.
Refer to http://www.w3.org/TR/html4/struct/dirlang.html#h-8.1 for the
source of the acceptable values.
Resolves [rt3 #19691].
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
Thank you for your reply,
Sorry for now mentioning this before,
I just finish to “upgrade” our old RT system from v3.6.7 to the latest 4.0.5
and we really liked to use all the new HTML features that this new release
come with.
I just patched the mention file in your link, and it WORKS,
I’m really grateful for your quick reply.
Rabin Yasharzadehe*On Tue, May 1, 2012 at 4:46 PM, Thomas Sibley trs@bestpractical.com wrote:
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.
Permit <bdo> tags and the lang and dir attributes when displaying HTML · bestpractical/rt@a625c19 · GitHub
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