openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 039fd4f61c9733300ea2726dc0397c5f1cdcbc4c
parent 1313ba210696166d17265722524deee94767bc05
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Sun,  6 Sep 2020 15:27:26 +0300

+++ added

Diffstat:
Mii-node/web.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ii-node/web.go b/ii-node/web.go @@ -567,7 +567,8 @@ func msg_format(txt string) template.HTML { skip = 0 l = msg_esc(l) } else if strings.HasPrefix(l, "P.S.") || strings.HasPrefix(l, "PS:") || - strings.HasPrefix(l, "//") || strings.HasPrefix(l, "#") { + strings.HasPrefix(l, "//") || strings.HasPrefix(l, "#") || + strings.HasPrefix(l, "+++ ") { l = fmt.Sprintf("<span class=\"comment\">%s</span>", str_esc(l)) } else if strings.HasPrefix(l, "spoiler:") { l = fmt.Sprintf("<span class=\"spoiler\">%s</span>", str_esc(ReverseStr(l)))