diff options
author | Andrew Dolgov <[email protected]> | 2012-12-26 10:52:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-26 10:52:44 +0400 |
commit | d8858f27c60bb309b3164ea1e941e9f45730f6ee (patch) | |
tree | 8d2dd67cc9d50bcef162dbe827930ea8dc2b2e99 /include | |
parent | dc1627f1ac5fd4197b0f546ea8deb08100f3994a (diff) |
disable htmLawed tag balancing (should be handled later by DOMDocument) (closes #521)
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 1db3b117c..9c107c591 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2523,7 +2523,7 @@ $res = trim($str); if (!$res) return ''; - $config = array('safe' => 1, 'deny_attribute' => 'style, width, height, class, id', 'comment' => 1, 'cdata' => 1); + $config = array('safe' => 1, 'deny_attribute' => 'style, width, height, class, id', 'comment' => 1, 'cdata' => 1, 'balance' => 0); $res = htmLawed($res, $config); if (get_pref($link, "STRIP_IMAGES", $owner)) { |