fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-05-17 05:57 am

[dw-free] make fileedit/support-currentproblems recognize user tags

[commit: http://hg.dwscoalition.org/dw-free/rev/7702805fcf50]

http://bugs.dwscoalition.org/show_bug.cgi?id=2284

Clean this the way we would clean an entry: same allowed/disallowed tags.
That's close enough for now...

Patch by [personal profile] fu.

Files modified:
  • htdocs/support/index.bml
--------------------------------------------------------------------------------
diff -r 3c06a8f818d7 -r 7702805fcf50 htdocs/support/index.bml
--- a/htdocs/support/index.bml	Tue May 17 13:35:30 2011 +0800
+++ b/htdocs/support/index.bml	Tue May 17 13:56:55 2011 +0800
@@ -28,10 +28,7 @@
     $ret .= "<?h1 $ML{'.knownissues.head'} h1?>";
 
     my $currentproblems = LJ::load_include( "support-currentproblems" );
-    LJ::CleanHTML::clean( \$currentproblems, {
-                'wordlength' => 40,
-                'mode' => 'deny',
-    });
+    LJ::CleanHTML::clean_event( \$currentproblems, {} );
     $ret .= $currentproblems;
 
     $ret .= "</div>";
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org