Quote from: donshakespeare at Dec 31, 2015, 06:11 PMThis topic has been discussed elsewhere. And there, I opted for such a function.
There is nothing sweeeter than having the ability/freedom to mix languages ... and don't know if it will be too much for MODX to allow raw PHP in content.
Yes, yes, I know of the school of thought that supports 'separation of logic', 'security risks' etc ... but does not freedom, at least the modern notion of it, mean, license to shoot oneself.
There are good reasons for that separation besides clean html-markup.
One Reason to separate logic from content is,
you don't want content-editors to be able to run any php-code, if they are not allowed to create/edit snippets.
Only Developers are allowed todo so.
pdoTools with Fenom - parser enabled does allow to run php, if one needs that really.
[Edit]
Didn't see Susan's comment about pdoTools and Fenom