mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 00:55:57 +00:00
disable htmLawed tag balancing (should be handled later by DOMDocument) (closes #521)
This commit is contained in:
@@ -2523,7 +2523,7 @@
|
|||||||
|
|
||||||
$res = trim($str); if (!$res) return '';
|
$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);
|
$res = htmLawed($res, $config);
|
||||||
|
|
||||||
if (get_pref($link, "STRIP_IMAGES", $owner)) {
|
if (get_pref($link, "STRIP_IMAGES", $owner)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user