HTML serialization utility functions used by editor
Adds escape sequences for special characters in XML: &<>"'.
Optionally skips escapes for single quotes.
| Parameter | Type | Description |
|---|---|---|
| str | String | |
| noSingleQuotes | Boolean |
Optional
|
Returns the html content of a DomNode's children
| Parameter | Type | Description |
|---|---|---|
| node | DomNode |
Pushes the html content of a DomNode's children into out[]
| Parameter | Type | Description |
|---|---|---|
| dom | DomNode | |
| output | String[] | an array of arrays of points |
Return string representing HTML for node and it's children
| Parameter | Type | Description |
|---|---|---|
| node | DomNode |
Pushes array of strings into output[] which represent HTML for node and it's children
| Parameter | Type | Description |
|---|---|---|
| node | DomNode | |
| output | String[] |