This question has been answered by BobRay. See the first response.
How about if the snippet is called uncached, [[!snippet]]?Same story.
which MODX - version?It was 2.3.0, but no any result after update to the latest version.
return '';
$output = ''; $output = 'whatever you want to output'; $output .= 'Something more to add to the output'; // etc. return $output;
This is it! Thanks
Putting this at the end of the snippet will prevent that, but don't do it for snippets that already return a meaningful value: