summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2015-02-19 16:27:48 +0100
committerUrban Müller2015-02-19 16:27:48 +0100
commit5e71728a8b79e0c0b808d86dbe44fa9ab8f50607 (patch)
treec7a885fea93e94e9fa0bc46a1a78569fccedc894 /it_html.class
parent49636e22e749749ab70b748e81ec3c21fd3aa29f (diff)
downloaditools-5e71728a8b79e0c0b808d86dbe44fa9ab8f50607.tar.gz
itools-5e71728a8b79e0c0b808d86dbe44fa9ab8f50607.tar.bz2
itools-5e71728a8b79e0c0b808d86dbe44fa9ab8f50607.zip
guarantee valid html comments
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 0f29bab..12d0039 100644
--- a/it_html.class
+++ b/it_html.class
@@ -420,7 +420,7 @@ function select($tags, $options, $selected = null)
*/
function comment($string)
{
- return "<!--" . it::replace('--' => "&#45;&#45;", $string) . "-->";
+ return "<!--" . it::replace(array('--' => "&#45;&#45;"), $string) . "-->";
}
# internal: strip spans added by debug params