diff --git a/plugins/phorum/htmlpurifier.php b/plugins/phorum/htmlpurifier.php index 4654c65d..ae2c276c 100644 --- a/plugins/phorum/htmlpurifier.php +++ b/plugins/phorum/htmlpurifier.php @@ -261,12 +261,42 @@ function phorum_htmlpurifier_editor_after_subject() { // don't show this message if it's a WYSIWYG editor, since it will // then be handled automatically if (!empty($GLOBALS['PHORUM']['mod_htmlpurifier']['wysiwyg'])) return; - ?>
+ HTML input is enabled. Make sure you escape all HTML and
+ angled brackets with <
and >
.
+
+ Auto-paragraphing is enabled. Double
+ newlines will be converted to paragraphs; for single
+ newlines, use the pre
tag.
+
$name
";
+ sort($allowed);
+ $allowed_text = implode(', ', $allowed);
+ ?>Allowed tags: .
+ +
+ For inputting literal code such as HTML and PHP for display, use
+ CDATA tags to auto-escape your angled brackets, and pre
+ to preserve newlines:
+
<pre><![CDATA[ +Place code here +]]></pre>+
+ Power users, you can hide this notice with: +
.htmlpurifier-help {display:none;}+