feat(html): format script with "application/ld+json" (#5642)

This commit is contained in:
Ika authored and GitHub committed 2018-12-16 16:21:10 +08:00
1 parent 8e612f05a0
commit cbf06bf388
4 files changed
+27

No files matched your search

@@ -0,0 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`script.html 1`] = `
====================================options=====================================
parsers: ["html"]
printWidth: 80
| printWidth
=====================================input======================================
<script type="application/ld+json">
{ "json":true }
</script>
=====================================output=====================================
<script type="application/ld+json">
{ "json": true }
</script>
================================================================================
`;
+1
View File
@@ -0,0 +1 @@
run_spec(__dirname, ["html"]);
+3
View File
@@ -0,0 +1,3 @@
<script type="application/ld+json">
{ "json":true }
</script>