[Rt-commit] r16202 - in rt/3.8/trunk: .

falcone at bestpractical.com falcone at bestpractical.com
Thu Oct 2 13:16:45 EDT 2008


Author: falcone
Date: Thu Oct  2 13:16:45 2008
New Revision: 16202

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Elements/ScrubHTML

Log:
 r40374 at ketch:  falcone | 2008-10-02 13:16:39 -0400
 * missed the text align function of the wysiwyg


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:16:45 2008
@@ -59,7 +59,8 @@
         face   => 1,
         size   => 1,
         target => 1,
-        style  => qr{^color: rgb\(\d+, \d+, \d+\)},
+        style  => qr{^(?:(?:color:\s*rgb\(\d+,\s*\d+,\s*\d+\))|
+                         (?:text-align:\s*))}ix,
     }
 );
 $scrubber->deny(qw[*]);


More information about the Rt-commit mailing list