Small fix
Improved - $modx->parseChunk()