Modifier: decode


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
Last modified on August 15, 2018