Merge pull request #2045 from tgrosinger/patch-1

Fix typo which prevented example from working
This commit is contained in:
Jeremy Ruston 2015-10-25 22:15:09 +00:00
commit 72cd6a5802
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ The parse-tree consists of nested nodes like
```js
{type: "element", tag: <string>, attributes: {}, children: []} - an HTML element
{type: "text", text: <string>} - a text node
{type: "entity", value: <string>} - an HTML entity like &copy; for a copyright symbol
{type: "entity", entity: <string>} - an HTML entity like &copy; for a copyright symbol
{type: "raw", html: <string>} - raw HTML
```
@ -37,4 +37,4 @@ Attributes in the parse-tree are not stored as simple strings but they are nodes
```js
{type: "string", value: <string>} - literal string
{type: "indirect", textReference: <textReference>} - indirect through a text reference
```
```