We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8835b74 commit 7c98cbcCopy full SHA for 7c98cbc
htmlparser.js
@@ -109,7 +109,7 @@
109
}
110
111
} else {
112
- html = html.replace(new RegExp("(.*)<\/" + stack.last() + "[^>]*>"), function (all, text) {
+ html = html.replace(new RegExp("(.*?)<\/" + stack.last() + "[^>]*>"), function (all, text) {
113
text = text.replace(/<!--(.*?)-->/g, "$1")
114
.replace(/<!\[CDATA\[(.*?)]]>/g, "$1");
115
0 commit comments