summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorChristian Schneider2015-02-19 16:40:22 +0100
committerChristian Schneider2015-02-19 16:40:22 +0100
commit18a4428b520232cff9fe43b5efca84db551d3fef (patch)
treeaa64d761b88f5178ba395a00b2b1b5da5219d5f4 /it_html.class
parent5e71728a8b79e0c0b808d86dbe44fa9ab8f50607 (diff)
downloaditools-18a4428b520232cff9fe43b5efca84db551d3fef.tar.gz
itools-18a4428b520232cff9fe43b5efca84db551d3fef.tar.bz2
itools-18a4428b520232cff9fe43b5efca84db551d3fef.zip
Nicer looking comments with spaces, also prevents problem with >/- at start/end of string
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 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('--' => "&#45;&#45;"), $string) . "-->";
+ return "<!-- " . it::replace(array('--' => "&#45;&#45;"), $string) . " -->";
}
# internal: strip spans added by debug params