Other Handy Filters
//Finds all <img> tags in the document and updates their width and height to make them responsive.
//Useful if you are trying to display raw HTML in your email.
| cleanImages
//Remove the "This post ...." text commonly inserted by CMS plugins like Yoast.
| regex_replace('/The post .* (?:appeared first|first appeared) .*\./', '')
//Strip out all non-basic html. Useful when trying to display CMS html content in an email.
//This is still risky but cleanup makes it achieveable.
|striptags('<p><br><span><a><div><b><strong><i><em><img>') ]]
Last updated