> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# template-raw-html-binding

> A Vue or Svelte template inserts a dynamic value as raw HTML.

## What it flags

Reviews Vue `v-html` and Svelte `{@html}` expressions through the component markup tokenizer. Escaped text interpolation, literal strings, and direct single-argument calls to the supported imported DOMPurify sanitizer stay quiet when the binding can be established. Unknown values are contextual. Components larger than 1 MiB, and Vue templates that use an unsupported preprocessor and contain `v-html`, are reported as skipped coverage. A preprocessed template without `v-html` has nothing to review and is not skipped. For a selected file where this rule is enabled, these skips make the Security report incomplete. `loadwise sec` and `loadwise check` exit with code 2 even when no findings are reported.

Review the source of rich content and use escaped interpolation for ordinary text. This check leaves rendering and sanitization behavior unchanged. [Vue security guide](https://vuejs.org/guide/best-practices/security#html-injection) · [Svelte raw HTML guide](https://svelte.dev/docs/svelte/@html)

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to skip this analysis, including its template coverage notes.

```json theme={null}
{ "rules": { "template-raw-html-binding": "off" } }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.