Adds LWC Parser to support unquoted interop attributes (#5800)
This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
This commit is contained in:
1 parent
154435bb36
commit
a093bb3f7b
19 files changed
+239
-16
No files matched your search
@@ -285,6 +285,7 @@ export default function(parser) {
|
||||
].join("\n");
|
||||
case "html":
|
||||
case "angular":
|
||||
case "lwc":
|
||||
return [
|
||||
"<!DOCTYPE html>",
|
||||
'<HTML CLASS="no-js mY-ClAsS">',
|
||||
|
||||
Reference in new issue
Block a user