diff options
author | FChannel <> | 2021-07-25 16:00:25 -0700 |
---|---|---|
committer | FChannel <> | 2021-07-25 16:00:25 -0700 |
commit | 6846150cb48d080112981633d6dddabef5ce4439 (patch) | |
tree | 78bc577d75955e7fcd207fc35db68a6ab15b73e6 /client.go | |
parent | 6c3de825cb50ebcf4c464a742b5480414b8173c4 (diff) |
fixed bug with escaping html less than symbol for parsing content
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -714,8 +714,10 @@ func ParseAttachment(obj ObjectBase, catalog bool) template.HTML { } func ParseContent(db *sql.DB, board Actor, op string, content string, thread ObjectBase) template.HTML { + + nContent := strings.ReplaceAll(content, `<`, "<") - nContent := ParseLinkComments(db, board, op, content, thread) + nContent = ParseLinkComments(db, board, op, nContent, thread) nContent = ParseCommentQuotes(nContent) |