diff --git a/package.json b/package.json index 857d46470..3cda50f30 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@iarna/toml": "2.2.3", "@typescript-eslint/typescript-estree": "2.17.0", "angular-estree-parser": "1.1.5", - "angular-html-parser": "1.3.0", + "angular-html-parser": "1.4.0", "camelcase": "5.3.1", "chalk": "3.0.0", "cjk-regex": "2.0.0", diff --git a/tests/html_basics/__snapshots__/jsfmt.spec.js.snap b/tests/html_basics/__snapshots__/jsfmt.spec.js.snap index 83fd2e1cb..c7b79f413 100644 --- a/tests/html_basics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_basics/__snapshots__/jsfmt.spec.js.snap @@ -478,6 +478,26 @@ printWidth: 80 ================================================================================ `; +exports[`tr-without-tbody-5810.html 1`] = ` +====================================options===================================== +parsers: ["html"] +printWidth: 80 + | printWidth +=====================================input====================================== + + +
+
+ +=====================================output===================================== + + +
+
+ +================================================================================ +`; + exports[`void-elements.html 1`] = ` ====================================options===================================== parsers: ["html"] diff --git a/tests/html_basics/tr-without-tbody-5810.html b/tests/html_basics/tr-without-tbody-5810.html new file mode 100644 index 000000000..ff6ffe7aa --- /dev/null +++ b/tests/html_basics/tr-without-tbody-5810.html @@ -0,0 +1,4 @@ + + +
+
diff --git a/yarn.lock b/yarn.lock index b5357bc6d..b9e4d2b90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1456,10 +1456,10 @@ angular-estree-parser@1.1.5: lines-and-columns "^1.1.6" tslib "^1.9.3" -angular-html-parser@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/angular-html-parser/-/angular-html-parser-1.3.0.tgz#2b87c3c1b7535a972a00e35604221df3c51e6c6e" - integrity sha512-FCLuM8ZUt30qwiV5KlW8uWL9cwlS2loOIGq8wUQFypkJ1QZqJk829yxTsvp2DvCMZ7uLwfjIaIrKV5N2+RLiSQ== +angular-html-parser@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/angular-html-parser/-/angular-html-parser-1.4.0.tgz#4080989e46cad183264f950fb475590888d31104" + integrity sha512-5KyzzYOeZV9g9ahXw4rbi8IIbMjUdXoarXJ0CfbWue5U1YsvMnjMZJ3oadpU8ZtnIx1zR/dsyt+FLJx2U65d2Q== dependencies: tslib "^1.9.3"