mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
hicli/html: add todo
This commit is contained in:
parent
e9abcd50d1
commit
6eef047ae5
1 changed files with 2 additions and 0 deletions
|
@ -574,6 +574,8 @@ Loop:
|
||||||
codeBlockLanguage = ""
|
codeBlockLanguage = ""
|
||||||
codeBlock = nil
|
codeBlock = nil
|
||||||
} else if tagIsAllowed(tag) && ts.pop(tag) {
|
} else if tagIsAllowed(tag) && ts.pop(tag) {
|
||||||
|
// TODO instead of only popping when the last tag in the stack matches, this should go through the stack
|
||||||
|
// and close all tags until it finds the matching tag
|
||||||
if tag == atom.Font {
|
if tag == atom.Font {
|
||||||
built.WriteString("</span>")
|
built.WriteString("</span>")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue