From 5192a82648c584fb946cea62cc14607cc3891b1e Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 1 Jun 2010 10:14:30 +0000 Subject: dont mark empty strings --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_html.class') diff --git a/it_html.class b/it_html.class index 50223f4..72507ed 100644 --- a/it_html.class +++ b/it_html.class @@ -457,7 +457,7 @@ function Q($string) if (preg_match('/[<>&"\x00-\x08\x0a-\x0c\x0e-\x1f\x80-\x9f]/', $string)) # WARNING: copy/pasted to _tag() $string = htmlspecialchars($GLOBALS['it_html']->p['charset'] == "iso-8859-1" ? it_html::latinize($string) : $string); - return $GLOBALS['debug_q'] ? "$string" : $string; + return $GLOBALS['debug_q'] && $string ? "$string" : $string; } -- cgit v1.2.3