HTML entity encode / decode
html_entitiesEscape the five special HTML characters (optionally all non-ASCII) or decode named and numeric HTML entities back to text. Runs on smart-tools.xyz.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode, or HTML with entities to decode | |
| locale | No | Language for the source_url link (default en) | |
| direction | No | encode (default) or decode | |
| encode_all | No | When encoding, also convert every non-ASCII character to a numeric entity. Default false |