-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow special characters in quoted attributes.
Characters like “<”, “/”, and “>” are special in html and we use them as boundary markers to determine where we are as we walk through the result of a tagged template literal callback. However, it’s perfectly allowable to use the characters in the markup itself if they’re quoted. Take the following, resonable example: ``` html`<a href="https://example.com" target="${target}">click me</a>` ``` Previously, because of the “/” characters in the “href” attribute declaration, the “${target}” binding would get missed. This is now fixed to allow quoted, special characters.
- Loading branch information
1 parent
b299c62
commit e6878b9
Showing
2 changed files
with
31 additions
and
3 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