Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Update xml.go
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodword authored Nov 13, 2022
1 parent a78369b commit bceee13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -1032,11 +1032,11 @@ 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
}
// // 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

0 comments on commit bceee13

Please sign in to comment.