Summary
If you create a TV and insert a snippet call in it, modx will output the call in plaintext on the website up to the first apostrophe.
Step to reproduce
Create a TV and add it to an Tempalte. Use the TV to call a snippet, eg. gallery oder pdoPage and add a parameter to the snippet call, eg. &id=1
. Example:
[[!pdoResources?
&parents=`11`
&hideContainers=`1`
&ressources=`5`
&tpl=`sponsorsRowTpl`
&useWeblinkUrl=`1`
&scheme=`full`
&sortby=`menuindex`
&limit=`10`
]]
Observed behavior
in modx version 2.8.4 and older the snippet call was executed, since version 3 the call is output in plaintext up to the first apostrophe:
[[!pdoResources? &parents=
Expected behavior
The snippet call should be executed.
Environment
MODX version 3, apache 2, php 7.4