-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issue with spreads, closing tags & default attrs
- Loading branch information
1 parent
3728e3e
commit 89bbe69
Showing
10 changed files
with
64 additions
and
17 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
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,10 @@ | ||
<span ...(a) SELF_CLOSED> | ||
</span> | ||
<span a=(EMPTY) ...(b) SELF_CLOSED> | ||
</span> | ||
<span a=(EMPTY) ...(b) ...(c) SELF_CLOSED> | ||
</span> | ||
<span a=(EMPTY) ...(b) c=(EMPTY) ...(d) SELF_CLOSED> | ||
</span> | ||
<span a=(EMPTY) ...(b) c=(EMPTY) ...(d) e=(EMPTY) SELF_CLOSED> | ||
</span> |
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,5 @@ | ||
<span ...a/> | ||
<span a ...b/> | ||
<span a ...b ...c/> | ||
<span a ...b c ...d/> | ||
<span a ...b c ...d e/> |
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,15 @@ | ||
<div> | ||
text:"\n " | ||
comment:"123" | ||
text:"\n " | ||
<html-comment> | ||
text:"abc" | ||
</html-comment> | ||
text:"\n " | ||
comment:"[if lt IE 9]><script src=\"...\"></script><![endif]" | ||
text:"\n " | ||
<html-comment> | ||
text:"[if lt IE 9]><script src=\"...\"></script><![endif]" | ||
</html-comment> | ||
text:"\n" | ||
</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,6 @@ | ||
<div> | ||
<!--123--> | ||
<html-comment>abc</html-comment> | ||
<!--[if lt IE 9]><script src="..."></script><![endif]--> | ||
<html-comment>[if lt IE 9]><script src="..."></script><![endif]</html-comment> | ||
</div> |
1 change: 0 additions & 1 deletion
1
test/autotest/parsed-text-placeholder-in-template-literal-string/expected.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,4 +1,3 @@ | ||
<script> | ||
text:"\n var foo = `Text 1: ${content}`;\n // ${foo}\n /*\n ${bar}\n */\n" | ||
</script> | ||
text:"\n" |
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,6 @@ | ||
<div> | ||
text:"\n " | ||
<span SELF_CLOSED> | ||
</span> | ||
error:"Missing ending \"div\" tag" (code: "MISSING_END_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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<div> | ||
<span/> |