contao/core — comment on commit bc87238114fd2f614ca0031af9799d371dbeaa11
File: system/modules/frontend/FrontendTemplate.php line 120
By tristanlins:

Is it not unsave to just replace ") & (", shouldn't you make a preg_replace like "\)\s*&\s*\(" instead?
(i used * instead of + because i'm not sure if the spaces are necessary or not)