[Rt-commit] r16201 - in rt/3.8/trunk: .
falcone at bestpractical.com
falcone at bestpractical.com
Thu Oct 2 13:14:14 EDT 2008
Author: falcone
Date: Thu Oct 2 13:14:14 2008
New Revision: 16201
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Elements/ScrubHTML
Log:
r40372 at ketch: falcone | 2008-10-02 13:13:49 -0400
* allow tags used by the WYSIWYG editor to pass through so that
when you use bold font in a message, you see it in the RT view.
Modified: rt/3.8/trunk/share/html/Elements/ScrubHTML
==============================================================================
--- rt/3.8/trunk/share/html/Elements/ScrubHTML (original)
+++ rt/3.8/trunk/share/html/Elements/ScrubHTML Thu Oct 2 13:14:14 2008
@@ -59,11 +59,12 @@
face => 1,
size => 1,
target => 1,
+ style => qr{^color: rgb\(\d+, \d+, \d+\)},
}
);
$scrubber->deny(qw[*]);
$scrubber->allow(
- qw[A B U P BR I HR BR SMALL EM FONT SPAN DIV UL OL LI DL DT DD PRE]
+ qw[A B U P BR I HR BR SMALL EM FONT SPAN STRONG SUB SUP STRIKE DIV UL OL LI DL DT DD PRE]
);
$scrubber->comment(0);
</%ONCE>
More information about the Rt-commit
mailing list