Skip to content

Commit

Permalink
fix: self closing tags not recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed Jul 6, 2021
1 parent 20e8c51 commit 2d5ba56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node.js
Expand Up @@ -60,7 +60,7 @@ class Node {

const parsed = htmlParser.parseDocument(string, {
recognizeCDATA: false,
recognizeSelfClosing: false,
recognizeSelfClosing: true,
lowerCaseAttributeNames: false,
lowerCaseTags: false,
xmlMode: false,
Expand Down

0 comments on commit 2d5ba56

Please sign in to comment.