more link fix
This commit is contained in:
parent
3ca544912f
commit
968edb3e44
2 changed files with 6 additions and 2 deletions
|
@ -299,6 +299,10 @@ OUTER_LOOP:
|
|||
}
|
||||
|
||||
case html.EndTagToken:
|
||||
if len(startTags) == 0 {
|
||||
break
|
||||
}
|
||||
|
||||
buf.Write(leftAngleBracket)
|
||||
buf.WriteString(startTags[len(startTags)-1])
|
||||
buf.Write(rightAngleBracket)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue