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>";
--------------------------------------------------------------------------------
kareila: Taking refuge from falling debris under a computer desk. (computercrash)

[personal profile] kareila 2011-05-17 04:39 pm (UTC)(link)
(correct bug for this is #2284)