I'm glad there's a workaround fo rthis issue, but it remains an issue. Chunks called from within a getResources template are not processed correctly. I wanted to use getResources to greate a list of documents for gallery. Here's a great example of why one owuld need a chiunk inside a tempalte: the gallert gets its' title and description through teh title attribule fo the "a" link. If you want to apply html to the titel and description in the gallery (colorbox, for example), you need to escape the html propery. I've done it this way:
[[$galItemNameAndDescr:htmlent? &idx=`[[+idx]]`]]
where the chunk galItemNameAndDesc looks like this:
<p class="galItemTitle">[[+name]]</p>
<p class="galItemDesc">[[+description]]</p>
In the getResources template, this is used thusly:
<a class="cboxgal" rel="colorboxLSP{[[+album]]}" href="[[+image]]" title="[[$galItemNameAndDescr:htmlent? &idx=`[[+idx]]`]]" alt="[[+name]]">
<img class="[[+imgCls]]" src="[[+thumbnail]]" alt="[[+name]]" />
</a>
This allows me to pass html into colorbox, and it's impossible to do so without a chunk in the template.
The above workaround by adding a fake variable idx does fix this problem.