flawopen.com/XSS in JavaScript/Svelte
Yes, for standard {expression} output — Svelte escapes it automatically at compile time. {@html ...} is the explicit, named escape hatch.
<p>{@html comment}</p>
// comment is parsed as real markup<p>{comment}</p>
// escaped automaticallySvelte compiles {expression} into code that sets text content, not innerHTML — the compiled output never parses the value as markup. {@html} is Svelte's literal name for "render this raw," matching the same explicit-escape-hatch naming pattern seen across React, Vue, and Angular.
grep -rn "{@html" --include="*.svelte" .