mirror of https://github.com/sveltejs/svelte
parent
4e391263ae
commit
0e174fe38b
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"code": "invalid-tag-placement",
|
||||
"message": "{@html} tag cannot be in attribute value",
|
||||
"start": { "line": 1, "column": 12, "character": 12 },
|
||||
"end": { "line": 1, "column": 12, "character": 12 },
|
||||
"pos": 12
|
||||
}
|
||||
]
|
||||
@ -0,0 +1 @@
|
||||
<div style="{@html text}" />
|
||||
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"code": "invalid-tag-placement",
|
||||
"message": "{@html} tag cannot be inside <textarea>",
|
||||
"start": { "line": 2, "column": 1, "character": 12 },
|
||||
"end": { "line": 2, "column": 1, "character": 12 },
|
||||
"pos": 12
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,3 @@
|
||||
<textarea>
|
||||
{@html fruit}
|
||||
</textarea>
|
||||
Loading…
Reference in new issue