When working through MODx API on a chunk that is not being processed through a request. (ie using MODx externally as a CMF) what would be the proper way to scrub out any un-processed tags.
Or...
Is there a way when calling modChunk->processes to force all tags to be removed if not processed
example
$someHtmlWithTags;
$chunk = $modx-> getNewObject('modChunk');
$output = $chunk->process($params,$someHTMLWithTags);
echo $output; // at this point any tags that were not sent in $params or not previously set in placeholder will remain in the ouput;
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow

"