Fix incorrect paren in Html Entities code block

- Swap paren to `)` instead of `(`
- Editor also removed trailing whitespaces.
This commit is contained in:
Nijiko Yonskai 2014-11-03 22:19:41 -08:00
parent 2193a753cc
commit 4e080e9e5c

View file

@ -245,7 +245,7 @@ m("div", "&times;") //becomes <div>&amp;times;</div>
You can unescape trusted HTML strings by using [`m.trust`](mithril.trust.md) You can unescape trusted HTML strings by using [`m.trust`](mithril.trust.md)
```javascript ```javascript
m("div", m.trust("&times;"() //becomes <div>&times;</div> m("div", m.trust("&times;")) //becomes <div>&times;</div>
``` ```
--- ---
@ -577,4 +577,3 @@ where:
- **returns** VirtualElement - **returns** VirtualElement
The returned VirtualElement is a Javascript data structure that represents the DOM element to be rendered by [`m.render`](mithril.render.md) The returned VirtualElement is a Javascript data structure that represents the DOM element to be rendered by [`m.render`](mithril.render.md)