Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -1035,11 +1035,6 @@ Input:
d.ungetc('<')
break Input
}
// This occurs only for an unquoted attr name.
if b == '>' && !cdata && quote < 0 { // Possible end of tag reached
d.ungetc('>') // Leaving end of tag available
break // returning text
}
if quote >= 0 && b == byte(quote) {
break Input
}
Expand Down