Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(marko): issue with dynamic tag name string and no renderbody
- Loading branch information
1 parent
42c76ac
commit 69e8514
Showing
4 changed files
with
7 additions
and
4 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
2 changes: 1 addition & 1 deletion
2
packages/marko/test/render/fixtures/dynamic-tag-name/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 +1 @@ | ||
<foo class="my-class" foo="bar">My nested content</foo> | ||
<foo class=my-class foo=bar>My nested content</foo><world class=my-class foo=bar></world> |
4 changes: 3 additions & 1 deletion
4
packages/marko/test/render/fixtures/dynamic-tag-name/template.marko
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,5 @@ | ||
<${input.foo ? 'foo' : 'bar'} class="my-class" foo="bar"> | ||
My nested content | ||
</> | ||
</> | ||
|
||
<${input.myTagName} class="my-class" foo="bar"/> |
1 change: 1 addition & 0 deletions
1
packages/marko/test/render/fixtures/dynamic-tag-name/vdom-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,2 +1,3 @@ | ||
<FOO class="my-class" foo="bar"> | ||
"My nested content" | ||
<WORLD class="my-class" foo="bar"> |