Skip to content

Commit b1c6b5b

Browse files
committed
Update index.js
1 parent 1dea63b commit b1c6b5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = function postHTMLParser(html) {
6363
last.content || (last.content = []);
6464
last.content.push(text);
6565
}
66-
}, {lowerCaseTags: false});
66+
}, {xmlMode: true});
6767

6868
parser.write(html);
6969
parser.end();
@@ -77,5 +77,4 @@ function isEmpty(obj) {
7777
return false;
7878
}
7979
}
80-
return true;
81-
}
80+
return true;}

0 commit comments

Comments
 (0)