| Name | Type | Description |
|---|---|---|
| is_valid | Boolean | True if the value is not empty |
| value | String | The HTML input. If there are any <liquid-markup> tags, they will be evaluated exactly once. Multiple references to value will yield the same result |
| plain_value | String | The HTML input exactly as it was entered. Anytags will NOT be evaluated before returning the result |
| interpreted_value | String | Identical to value, except that template code insidetags will be evaluated every time interpreted_value is referenced |
| default_value | String | The default value (plain/uninterpreted) for this field if no value is specified |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | Same as value - except that output is clickable in the preview site while value is not. May include additional markup in the editor preview to make it easier to edit content |
Allows any valid HTML input. May also include <liquid-markup> tags.
{{ tags }}
{{ error_page }}
{{ code }}
{{ menu_item }}
{{ calendar_entry }}
{{ blog_post }}
string
{{ template }}
{{ snippet }}
{{ article }}
{{ time }}
{{ author }}
{{ gallery_item }}
{{ tag }}
Encode a string to be output as HTML. All special HTML characters will be converted to their equivalent HTML character entities (eg: < becomes <). This is functionally identical to the "escape" filter, though it may be more intuitive in some contexts - such as when using both the html_encode and html_decode filters to execute more advanced string manipulation.
html_encode
{{ html }}
Decodes any encoded HTML entities (eg: &lt; becomes <)
html_decode
{{ html }}
Removes all HTML tags from a string
strip_html
This filter uses simple pattern matching to remove HTML tags. If the input is poorly formatted or contains unusual character sequences - particularly involving the '<' and '>' characters - this could result in unexpected behavior.
{{ html }}