new HtmlSnippet(contentopt)
Wraps an HTML snippet for use with configuration values which default to strings. This bypasses the default html-escaping done to string values.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
content |
string |
<optional> |
HTML content |
- Source:
Methods
toString() → {string}
Render into HTML.
- Source:
Returns:
Unchanged HTML snippet.
- Type
- string