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 a599d71 commit c9c1e73Copy full SHA for c9c1e73
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