Wednesday 21 September 2005 9:13:24 pm
If you are typing an ampersand into an XML field it should be presented in its encoded form. I think however if you type an ampersand into a textline or textblock you need to wash the output from the template using the |wash operator:
{$node.name|wash}
Will the more knowledgeable please correct me if I'm wrong? <i>Gabriel</i>: Last time I checked non-encoded ampersands only triggered a notice in the validator, not an error or warning! Though I think there is a higher warning level when using a strict doctype. Cheers!
Pardon me while I burst into flames...
|