diff options
author | Urban Müller | 2015-02-19 16:27:48 +0100 |
---|---|---|
committer | Urban Müller | 2015-02-19 16:27:48 +0100 |
commit | 5e71728a8b79e0c0b808d86dbe44fa9ab8f50607 (patch) | |
tree | c7a885fea93e94e9fa0bc46a1a78569fccedc894 | |
parent | 49636e22e749749ab70b748e81ec3c21fd3aa29f (diff) | |
download | itools-5e71728a8b79e0c0b808d86dbe44fa9ab8f50607.tar.gz itools-5e71728a8b79e0c0b808d86dbe44fa9ab8f50607.tar.bz2 itools-5e71728a8b79e0c0b808d86dbe44fa9ab8f50607.zip |
guarantee valid html comments
-rw-r--r-- | it_html.class | 2 |
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('--' => "--", $string) . "-->"; + return "<!--" . it::replace(array('--' => "--"), $string) . "-->"; } # internal: strip spans added by debug params |