mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-21 07:46:09 +01:00
🎨 Improve tag escaping
This commit is contained in:
parent
1d4380bb75
commit
b6bd34ce32
2 changed files with 4 additions and 4 deletions
|
|
@ -328,7 +328,7 @@ func labelTags() (ret map[string]Tags) {
|
|||
|
||||
tagSpans := sql.QueryTagSpans("")
|
||||
for _, tagSpan := range tagSpans {
|
||||
label := tagSpan.Content
|
||||
label := util.UnescapeHTML(tagSpan.Content)
|
||||
if _, ok := ret[label]; ok {
|
||||
ret[label] = append(ret[label], &Tag{})
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue