mirror of https://github.com/sveltejs/svelte
Merge pull request #3851 from tanhauhau/tanhauhau/escape-html
escape html quotes in `.innerHtml` statementpull/3860/head
commit
a0c934d0b0
@ -1,3 +1,8 @@
|
||||
export default {
|
||||
html: `<span title='"foo"'>foo</span>`
|
||||
html: `
|
||||
<span title='"foo"'>
|
||||
foo
|
||||
<span title='"bar"'>bar</span>
|
||||
</span>
|
||||
`
|
||||
};
|
@ -1 +1,4 @@
|
||||
<span title='"foo"'>foo</span>
|
||||
<span title='"foo"'>
|
||||
foo
|
||||
<span title='"bar"'>bar</span>
|
||||
</span>
|
Loading…
Reference in new issue