Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
HTML Formatter
Where can I find the HTML formatter used on Lussumo's Community? The one extension I have is "Raw HTML", but not simply HTML. Is that an extension or am I missing something? Thanks!
0
This discussion has been closed.
Comments
return str_replace( array("\r\n", "\r", "\n"), array("\n", "\n", '<br>'), preg_replace($Patterns, $Replacements, $String) );
To justreturn preg_replace($Patterns, $Replacements, $String);
and it shouldn't change newlines.In the future it would be very cool to integrate this with the Attachments add-on, essentially allowing anyone to publish audio and video directly into discussions.