Skip to content

Commit 5ceaa17

Browse files
committed
end tag uppercase fix
1 parent 3e8b2b1 commit 5ceaa17

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

htmlparser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@
219219
}
220220

221221
function parseEndTag(tag, tagName) {
222+
tagName = tagName.toLowerCase();
222223
// If no tag name is provided, clean shop
223224
if (!tagName)
224225
var pos = 0;

0 commit comments

Comments
 (0)