diff options
author | Christian Schneider | 2015-02-19 16:40:22 +0100 |
---|---|---|
committer | Christian Schneider | 2015-02-19 16:40:22 +0100 |
commit | 18a4428b520232cff9fe43b5efca84db551d3fef (patch) | |
tree | aa64d761b88f5178ba395a00b2b1b5da5219d5f4 | |
parent | 5e71728a8b79e0c0b808d86dbe44fa9ab8f50607 (diff) | |
download | itools-18a4428b520232cff9fe43b5efca84db551d3fef.tar.gz itools-18a4428b520232cff9fe43b5efca84db551d3fef.tar.bz2 itools-18a4428b520232cff9fe43b5efca84db551d3fef.zip |
Nicer looking comments with spaces, also prevents problem with >/- at start/end of string
-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 12d0039..e8969fb 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(array('--' => "--"), $string) . "-->"; + return "<!-- " . it::replace(array('--' => "--"), $string) . " -->"; } # internal: strip spans added by debug params |