[dw-free] make fileedit/support-currentproblems recognize user tags
[commit: http://hg.dwscoalition.org/dw-free/rev/f601d6758159]
http://bugs.dwscoalition.org/show_bug.cgi?id=2284
Run the support known issues through the HTML cleaner so that user tags can
be processed.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2284
Run the support known issues through the HTML cleaner so that user tags can
be processed.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/support/index.bml
-------------------------------------------------------------------------------- diff -r 127048be3771 -r f601d6758159 htdocs/support/index.bml --- a/htdocs/support/index.bml Mon May 16 23:24:25 2011 +0800 +++ b/htdocs/support/index.bml Mon May 16 23:31:49 2011 +0800 @@ -26,7 +26,14 @@ # known issues box $ret .= "<div class='blue box'>"; $ret .= "<?h1 $ML{'.knownissues.head'} h1?>"; - $ret .= LJ::load_include(BML::get_language() eq 'ru' ? "support-currentproblems-russian" : "support-currentproblems"); + + my $currentproblems = LJ::load_include( "support-currentproblems" ); + LJ::CleanHTML::clean( \$currentproblems, { + 'wordlength' => 40, + 'mode' => 'deny', + }); + $ret .= $currentproblems; + $ret .= "</div>"; # ask a question box --------------------------------------------------------------------------------