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 f0c6e5c commit 11d6ca2Copy full SHA for 11d6ca2
packages/render/src/shared/utils/lenient-parse.ts
@@ -130,6 +130,11 @@ export const lenientParse = (html: string): HtmlNode[] => {
130
}
131
132
if (character !== ' ') {
133
+ if (html.indexOf('=', index) === -1) {
134
+ index =
135
+ html.indexOf('/>') === -1 ? html.indexOf('>') : html.indexOf('/>');
136
+ break;
137
+ }
138
const propertyName = html.slice(index, html.indexOf('=', index));
139
index = html.indexOf('=', index) + 1;
140
0 commit comments