Does any method to decode HTML entities within keywords exist?
I’ve looked through the documentation at https://matrix.squiz.net/manuals/keyword-replacements/chapters/keyword-modifiers and it doesn’t look like it – you’ve got htmlentities
to encode but no way of decoding. As a workaround, I’ve considered using a Regular Expression but it’s going to be cumbersome to manage so many entities, even if I don’t try and regex them all.
In PHP, you’d just be calling html_entity_decode() and I’d imagine adding the implementation as a new modifier would be straightforward.
Thoughts?
Matrix Version: 5.3.3.0