decode Modifier

Convert all HTML entities to their applicable characters via PHP's html_entity_decode() function. Will convert both double and single quotes. This is the opposite of the entities modifier.

string: "I'll \"eat\" the <b>bacon</b> now";
{{ string | decode }}
I'll "eat" the <b>bacon</b> now
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →