-
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.
Fix template injection for special characters.
The following should work (and work performantly) as a result of this change set: ```javascript html`\ <svg id="svg" class="<><></></>" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="${ifDefined(width)}" height="${ifDefined(height)}"> <circle id="circle" r="12" cx="12" cy="12"></circle> </svg> ```
- Loading branch information
1 parent
92e6ed6
commit 61ded62
Showing
6 changed files
with
301 additions
and
203 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,19 @@ | ||
:root { | ||
line-height: 20px; | ||
} | ||
|
||
.label { | ||
font-weight: bold; | ||
} | ||
|
||
.output { | ||
height: calc(20px * 3); | ||
} | ||
|
||
p { | ||
width: 70ch; | ||
} | ||
|
||
p:first-of-type { | ||
margin-top: 2em; | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.