Share » Forums » General » "XHTML 1.0 Transitional, everything...

"XHTML 1.0 Transitional, everything validates" - does it ?

"XHTML 1.0 Transitional, everything validates" - does it ?

Tuesday 13 September 2005 2:10:39 pm - 2 replies

Author Message

Gabriel Ambuehl

Wednesday 14 September 2005 3:52:18 am

I thought it was perfectly acceptable to use special chars in XHTML 1.0 without escaping them to entities?

Would seem like a flaw in the validator to me.

Visit http://triligon.org

Nathan Kelly

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...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu