Does this relate at all?
https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=1099
Can it be used for double substitution in OpenACS templates? It looks like it could be used for something, but I have no idea what... What are the implications of this?