feat(html): format script with "application/ld+json" (#5642)
This commit is contained in:
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>
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
run_spec(__dirname, ["html"]);
|
||||
@@ -0,0 +1,3 @@
|
||||
<script type="application/ld+json">
|
||||
{ "json":true }
|
||||
</script>
|
||||
Reference in new issue
Block a user