Hi,
I noticed there must be some difference in the way SS treats variables of a different fieldtype in a template.
In order to get working html out of a varchar variable, I have to use:
$VarcharVariable.RAW
otherwise it is 'htmlspecialcharred'...
while with text it can just be
$TextVariable
and to have that one 'cleaned' I need to use
$TextVariable.XML
Any clues on this one..?
I didn't expect this, couldn't find anything about this in http://doc.silverstripe.com/doku.php?id=data-types