forked from htacg/tidy-html5
-
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
Showing
3 changed files
with
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Config for test case. | ||
tidy-mark: no | ||
indent: no | ||
wrap: 99999 |
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,28 @@ | ||
<!-- | ||
This test case is for issue #523, in which a space is placed after the | ||
closing tag of certain elements. For example below, a space is added after | ||
the first script closing tag and after the img tag. | ||
--> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>test</title> | ||
</head> | ||
<body> | ||
<script type="text/javascript"> | ||
</script> | ||
<script type="text/javascript"> | ||
</script> | ||
<h1>Hello</h1> | ||
<script type="text/javascript"> | ||
</script> | ||
<img src="hi.jpg"> | ||
<script type="text/javascript"> | ||
</script> | ||
<p>This is a block level element, and as such, is capable of inlining inline elements.<script type="text/javascript">let x = "Hello, world"</script> Scripts are inline elements, so this script should be included in the flow.</p> | ||
<script type="text/javascript"></script><img src="bye.jpg"><script type="text/javascript"></script> | ||
<hr> | ||
<p>This is another paragraph with an <img src="meh.jpg"> tag inline.</p> | ||
<img src="one.jpg"><img src="two.jpg"><img src="three.jpg"> | ||
</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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
5.9.16 | ||
2021.08.23 | ||
5.9.17 | ||
2021.08.26 |