summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2024-08-19 02:21:56 +0200
committerUrban Müller2024-08-19 02:21:56 +0200
commitc60e76906060423a232ecc8ad828925a638d0fa5 (patch)
treece99df2a4638eea9dd66a6a243952c4961013665 /it_html.class
parentb70c14f80103015ee8f71c4fbec498f4eee993a6 (diff)
downloaditools-c60e76906060423a232ecc8ad828925a638d0fa5.tar.gz
itools-c60e76906060423a232ecc8ad828925a638d0fa5.tar.bz2
itools-c60e76906060423a232ecc8ad828925a638d0fa5.zip
fewer backslackes when ED()-ing html content with debug output
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class
index 71853dd..ec1e1ce 100644
--- a/it_html.class
+++ b/it_html.class
@@ -423,7 +423,7 @@ static function sanitize($html)
else
$result = it::replace(array('&(#\d+;)' => '&$1'), it_html::Q(html_entity_decode(strip_tags($html), ENT_COMPAT, $charset)));
- return $GLOBALS['debug_q'] ? "<span style='background:#8FF'>$result</span>" : it::replace(array('<(div|p|i|b|a)></\1>' => ""), $result); # remove empty tags
+ return $GLOBALS['debug_q'] ? "<span style=\"background:#8FF\">$result</span>" : it::replace(array('<(div|p|i|b|a)></\1>' => ""), $result); # remove empty tags
}
/**