[Rt-commit] r4069 - in rt/branches/3.4-RELEASE: . html/Elements

jesse at bestpractical.com jesse at bestpractical.com
Mon Nov 14 12:55:46 EST 2005


Author: jesse
Date: Mon Nov 14 12:55:46 2005
New Revision: 4069

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/html/Elements/ScrubHTML
Log:
 r18888 at truegrounds:  jesse | 2005-11-14 12:54:25 -0500
 RT-Ticket: 7048
 RT-Status: resolved
 RT-Update: correspond
 
 * Akos Torok pointed out that our HTML scrubber removed "PRE" tags from HTML


Modified: rt/branches/3.4-RELEASE/html/Elements/ScrubHTML
==============================================================================
--- rt/branches/3.4-RELEASE/html/Elements/ScrubHTML	(original)
+++ rt/branches/3.4-RELEASE/html/Elements/ScrubHTML	Mon Nov 14 12:55:46 2005
@@ -62,7 +62,7 @@
 
 $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]);
+    qw[A B U P BR I HR BR SMALL EM FONT SPAN DIV UL OL LI DL DT DD PRE]);
 $scrubber->comment(0);
 return ( $scrubber->scrub($Content) );
 </%init>


More information about the Rt-commit mailing list