View Helpers
hAttr()
Signature
Section titled “Signature”hAttr() — returns string
Available in: controller
Category: Sanitization Functions
Description
Section titled “Description”Encodes a value for safe use inside an HTML attribute. Use when building attribute values manually: <div title=“#hAttr(user.bio)#”>.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
value | any | yes | — | The value to encode for HTML attribute context. |