forked from navindex/html-formatter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38472b7
commit 684da56
Showing
2 changed files
with
35 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
35 changes: 34 additions & 1 deletion
35
tests/__snapshots__/FormatterTest__testBeautify with data set 0__1.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 |
---|---|---|
@@ -1 +1,34 @@ | ||
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="auth" content="1" id="auth"> <script src="http://localhost/js/manifest.js?id=8f036cd511d2b70af1d3" type="text/javascript"></script> <meta name="auth" content="1" id="auth"> <title>Edit product</title><script>Sfdump = window.Sfdump || (function (doc) { console.log(doc); })(document);</script> <meta name="robots" content="noindex"> </head> <body><pre> something comes here </pre><textarea> something comes here too </textarea> <div class="container-fluid" data-controller="base"> <div class="row"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" reserveaspectratio="xMidYMid meet" viewbox="0 0 111.62013 21.110666"> <g class="a"> <path d="m30.286 20.4727h-4.264v-19.8613h4.264z"></path> </g> </svg> </div></div></body> </html> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta name="auth" content="1" id="auth"> | ||
<script src="http://localhost/js/manifest.js?id=8f036cd511d2b70af1d3" type="text/javascript"></script> | ||
<meta name="auth" content="1" id="auth"> | ||
<title>Edit product</title> | ||
<script> | ||
Sfdump = window.Sfdump || (function (doc) { console.log(doc); })(document); | ||
</script> | ||
<meta name="robots" content="noindex"> | ||
</head> | ||
<body> | ||
<pre> | ||
something | ||
comes | ||
here </pre> | ||
<textarea> | ||
something comes | ||
here too </textarea> | ||
<div class="container-fluid" data-controller="base"> | ||
<div class="row"> | ||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" reserveaspectratio="xMidYMid meet" viewbox="0 0 111.62013 21.110666"> | ||
<g class="a"> | ||
<path d="m30.286 20.4727h-4.264v-19.8613h4.264z"></path> | ||
</g> | ||
</svg> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |