terminal42 / contao-inserttags

This is a Contao Open Source CMS extension which allows you to define your own insert tags in the back end.
https://www.terminal42.ch
MIT License
12 stars 7 forks source link

replaceInsertTags-Hook replaces insert tags from other extensions with empty string #27

Closed michb closed 7 months ago

michb commented 7 months ago

With the change of the InsertTagsListener now this will replace all insert tags not starting with custom.

As the InsertTagHandler has an early return with null https://github.com/terminal42/contao-inserttags/blob/b4b077a7b06a86e92c9e75dda9f5a28167ce568f/src/InsertTagHandler.php#L32-L38

all insert tags with another first chunk will be replaced with an empty string https://github.com/terminal42/contao-inserttags/blob/b4b077a7b06a86e92c9e75dda9f5a28167ce568f/src/EventListener/InsertTagsListener.php#L20-L27

qzminski commented 7 months ago

Fixed in 2.4.1.