Releases: mmikkel/Retcon-Craft
Releases · mmikkel/Retcon-Craft
Retcon v. 2.0.1
Fixed
- Fixes various issues with the
retcon
catch-all filter - Fixes an issue where Retcon would entity encode HTML tags when no nodes matched the given selector for methods such as
srcset
,transform
and others - Fixes an issue where Retcon would entity encode non-breaking spaces
Retcon v. 2.0.0
Added
- New filter
retconRemoveEmpty
added, which will remove empty DOM nodes (e.g.<p>
tags without text content)
Improved
- Selectors are much, much more flexible (almost all CSS selectors work, which means that Retcon is basically jQuery now!) due to the magic of Symfony's DomCrawler component
- Full HTML5 support 🎉
- The
retconAutoAlt
filter will use the Asset'stitle
for thealt
attribute, if Retcon is fed markup with Craft CMS reference tags - The
retconTransform
,retconLazy
andretconSrcSet
filters now take an additional parameter –selector
(defaults to'img'
)
Retcon v. 1.0.1
- Adds support for the
limit
parameter in the "replace" filter (preg_replace
wrapper)
Retcon v. 1.0.0
- Meh, screw this beta thing
Retcon 1.0.0-beta1
- Initial release for Craft 3.x