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:
Nathan Totten authored and Ika committed 2019-02-01 13:58:50 +08:00
1 parent 154435bb36
commit a093bb3f7b
19 files changed
+239 -16

No files matched your search

+1
View File
@@ -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">',