This is a Contao Open Source CMS extension which allows you to define your own insert tags in the back end.
12
stars
7
forks
source link
replaceInsertTags-Hook replaces insert tags from other extensions with empty string #27
Closed
michb closed 7 months ago
With the change of the
InsertTagsListener
now this will replace all insert tags not starting withcustom
.As the InsertTagHandler has an early return with
null
https://github.com/terminal42/contao-inserttags/blob/b4b077a7b06a86e92c9e75dda9f5a28167ce568f/src/InsertTagHandler.php#L32-L38all 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