Commit b96b1fb
inject css with template string to allow for line breaks (#894)
* inject css with template string to allow for line breaks
alternative solution would to be implement a struct `JsStringLiteral`
with `fmt::Display` that escapes all forbidden codepoints from the spec
https://www.ecma-international.org/ecma-262/#sec-literals-string-literals
template string literal seems fine as all browsers that tauri supports have
had support for them for the past 3-4+ years
Signed-off-by: Chip Reed <chip@chip.sh>
* chore(changes) adjust change file
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>1 parent 6ee720e commit b96b1fb
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments