commit d0ed16363a05b8c4a1036ebb675722440c06327a
parent d13f1f7142d2d3eb445e64b665e54de5b219ae17
Author: Peter Kosyh <p.kosyh@gmail.com>
Date: Mon, 8 Feb 2021 11:26:47 +0300
fix in pre html
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii-node/web.go b/ii-node/web.go
@@ -803,7 +803,7 @@ func msg_trunc(m *ii.Msg, maxlen int, more string) string {
continue
}
if pre {
- f += l + "\n"
+ f += str_esc(l) + "\n"
continue
}
if strings.HasPrefix(l, "/* XPM */") || strings.HasPrefix(l, "! XPM2") {