more link fix

This commit is contained in:
Unknwon 2015-11-24 19:28:24 -05:00
parent 3ca544912f
commit 968edb3e44
2 changed files with 6 additions and 2 deletions

View file

@ -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)