Skip to content

Commit fc31792

Browse files
A better example for v-html (#1314)
1 parent 813c887 commit fc31792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
- **Example:**
3636

3737
```html
38-
<div v-html="html"></div>
38+
<div v-html="'<h1>Hello World</h1>'"></div>
3939
```
4040

4141
- **See also:** [Data Binding Syntax - Interpolations](../guide/template-syntax.html#raw-html)

0 commit comments

Comments
 (0)