Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML: Fix format on
style[lang="sass"]
- Loading branch information
Showing
19 changed files
with
187 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
71 changes: 71 additions & 0 deletions
71
tests/html/multiparser/unknown/__snapshots__/jsfmt.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`unknow-lang.html format 1`] = ` | ||
====================================options===================================== | ||
parsers: ["html"] | ||
printWidth: 80 | ||
| printWidth | ||
=====================================input====================================== | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<style lang="unknown"> | ||
foo | ||
bar | ||
</style> | ||
<script lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<script type="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<script type="unknown" lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
</body> | ||
</html> | ||
=====================================output===================================== | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<style lang="unknown"> | ||
foo | ||
bar | ||
</style> | ||
<script lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<script type="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<script type="unknown" lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
</body> | ||
</html> | ||
================================================================================ | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
run_spec(__dirname, ["html"]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<style lang="unknown"> | ||
foo | ||
bar | ||
</style> | ||
|
||
<script lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
|
||
<script type="unknown"> | ||
foo | ||
bar | ||
</script> | ||
|
||
<script type="unknown" lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<style lang="unknown"> | ||
foo | ||
bar | ||
</style> | ||
<script lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<script type="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<script type="unknown" lang="unknown"> | ||
foo | ||
bar | ||
</script> | ||
<template lang="unknown"> | ||
foo | ||
bar | ||
</template> |