Fix incorrect paren in Html Entities code block
- Swap paren to `)` instead of `(` - Editor also removed trailing whitespaces.
This commit is contained in:
parent
2193a753cc
commit
4e080e9e5c
1 changed files with 35 additions and 36 deletions
|
|
@ -245,7 +245,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>
|
||||
```
|
||||
|
||||
---
|
||||
|
|
@ -577,4 +577,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