Merge pull request #328 from Nijikokun/hotfix/docs-html-entities
Fix incorrect paren in Html Entities code block
This commit is contained in:
commit
320466edeb
1 changed files with 35 additions and 36 deletions
|
|
@ -248,7 +248,7 @@ m("div", "×") //becomes <div>&times;</div>
|
|||
You can unescape trusted HTML strings by using [`m.trust`](mithril.trust.md)
|
||||
|
||||
```javascript
|
||||
m("div", m.trust("×"() //becomes <div>×</div>
|
||||
m("div", m.trust("×")) //becomes <div>×</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
|
@ -580,4 +580,3 @@ where:
|
|||
- **returns** VirtualElement
|
||||
|
||||
The returned VirtualElement is a Javascript data structure that represents the DOM element to be rendered by [`m.render`](mithril.render.md)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue