diff options
author | alecpl <alec@alec.pl> | 2008-07-22 10:38:43 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-07-22 10:38:43 +0000 |
commit | 4897adcbd456b978a5d02e30b298545b4af3fff3 (patch) | |
tree | fe5da26f2bf10bf44c722e22c663f912dd4081ad | |
parent | c1b81f578ab1b75b9a313f1dac3ae05ded5fab77 (diff) |
#1485137: added 'form' to allowed elements list
-rw-r--r-- | program/lib/washtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/washtml.php b/program/lib/washtml.php index 340dc93f3..4ed2f4634 100644 --- a/program/lib/washtml.php +++ b/program/lib/washtml.php @@ -74,7 +74,7 @@ class washtml { /* Allowed HTML elements (default) */ - static $html_elements = array('a', 'abbr', 'acronym', 'address', 'area', 'b', 'basefont', 'bdo', 'big', 'blockquote', 'br', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'ins', 'label', 'legend', 'li', 'map', 'menu', 'ol', 'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'img'); + static $html_elements = array('a', 'abbr', 'acronym', 'address', 'area', 'b', 'basefont', 'bdo', 'big', 'blockquote', 'br', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'ins', 'label', 'legend', 'li', 'map', 'menu', 'ol', 'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'img'); /* Ignore these HTML tags but process their content */ static $ignore_elements = array('html', 'body'); |