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 870043e commit 3dfcd20Copy full SHA for 3dfcd20
src/xmlparser/DocTypeReader.js
@@ -195,10 +195,11 @@ export default class DocTypeReader {
195
}
196
i++;
197
198
+ const startIndex = i;
199
while (i < xmlData.length && xmlData[i] !== startChar) {
- identifierVal += xmlData[i];
200
201
202
+ identifierVal = xmlData.substring(startIndex, i);
203
204
if (xmlData[i] !== startChar) {
205
throw new Error(`Unterminated ${type} value`);
0 commit comments