Filters
escape
Introduction
The escape
filter is used to convert special characters in a string to their equivalent text entities. This is useful to ensure that the content displayed in text messages is safe and properly formatted without interpreting special characters.
Example of use
Example of how to use the escape
filter to ensure special characters in a string are displayed correctly: