-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: comment value for legacy mode and multi line tag name
- Loading branch information
1 parent
f20e52e
commit 3728e3e
Showing
11 changed files
with
31 additions
and
13 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<p> | ||
comment:"/*\n This is a\n multiline comment\n */" | ||
comment:"\n This is a\n multiline comment\n " | ||
error:"In concise mode a javascript comment block can only be followed by whitespace characters and a newline." (code: "INVALID_CHARACTER") | ||
</p> |
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,4 +1,4 @@ | ||
<p> | ||
comment:"/*\n This is a\n multiline comment\n */" | ||
comment:"\n This is a\n multiline comment\n " | ||
text:"This is the body of the p tag" | ||
</p> |
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,4 +1,4 @@ | ||
<div> | ||
comment:"// This is a single line comment" | ||
comment:" This is a single line comment" | ||
text:"This is the body of the div tag" | ||
</div> |
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 @@ | ||
comment:"<!-- Copyright ${date} -->" | ||
comment:" Copyright ${date} " |
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,3 +1,3 @@ | ||
<a> | ||
comment:"<!--<b></b>-->" | ||
comment:"<b></b>" | ||
</a> |
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,6 +1,6 @@ | ||
<p class=("foo")> | ||
comment:"<!--\n A multiline HTML comment\n should be okay\n -->" | ||
comment:"\n A multiline HTML comment\n should be okay\n " | ||
</p> | ||
<div class=("bar")> | ||
comment:"<!-- test -->" | ||
comment:" test " | ||
</div> |
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,2 @@ | ||
<custom-tag data-attr-a=(EMPTY) data-attr-b=(EMPTY) data-attr-c=(EMPTY) data-attr-d=(EMPTY) data-attr-e=(EMPTY) preserve-attr-a=(EMPTY) not-preserve-attr-a=(EMPTY) SELF_CLOSED> | ||
</custom-tag> |
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,9 @@ | ||
<custom-tag | ||
data-attr-a | ||
data-attr-b | ||
data-attr-c | ||
data-attr-d | ||
data-attr-e | ||
preserve-attr-a | ||
not-preserve-attr-a | ||
/> |
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