htmljs-parser 5.10.0 → 5.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1250,6 +1250,8 @@ function handleDelimitedBlockEOL(parser, first, newLineLength, {
|
|
|
1250
1250
|
parser.pos = pos;
|
|
1251
1251
|
parser.exitState();
|
|
1252
1252
|
parser.exitState();
|
|
1253
|
+
} else if (!first && parser.pos + newLineLength !== parser.maxPos) {
|
|
1254
|
+
parser.startText();
|
|
1253
1255
|
}
|
|
1254
1256
|
}
|
|
1255
1257
|
|
package/dist/index.mjs
CHANGED
|
@@ -1221,6 +1221,8 @@ function handleDelimitedBlockEOL(parser, first, newLineLength, {
|
|
|
1221
1221
|
parser.pos = pos;
|
|
1222
1222
|
parser.exitState();
|
|
1223
1223
|
parser.exitState();
|
|
1224
|
+
} else if (!first && parser.pos + newLineLength !== parser.maxPos) {
|
|
1225
|
+
parser.startText();
|
|
1224
1226
|
}
|
|
1225
1227
|
}
|
|
1226
1228
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "htmljs-parser",
|
|
3
3
|
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
|
|
4
|
-
"version": "5.10.
|
|
4
|
+
"version": "5.10.1",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@changesets/changelog-github": "^0.5.0",
|
|
7
7
|
"@changesets/cli": "^2.27.1",
|