Prevent WordPress from convert ✔ (& other text symbols/emoji) to SVG
In my page content, I have the following:
lispan class=tick✔/span Fully qualified and insured technicians, with over a decade of experience/li
On the frontend, WordPress changes the ✔ to:
img draggable=false role=img class=emoji alt=✔ src=https://s.w.org/images/core/emoji/13.0.1/svg/2714.svg
I can't change the colour of this SVG image, it is black, and we need it white.
How do I prevent the conversion of emojis to SVG?
EDIT
I've found this answer which says to use:
add_filter( 'emoji_svg_url', '__return_false' );
All that does is break the image but display the alt text in the correct format:
The same code remains:
img draggable=false role=img class=emoji alt=✔ src=https://s.w.org/images/core/emoji/13.0.1/svg/2714.svg