Thanks for the fast reply! > But presumably you are using XHTML, where <script> > elements have #PCDATA Yes I'm using XHTML and #PCDATA. I didn't even know the differences between #PCDATA and CDATA and which one is used by <script> (I should read W3C recommendations more carefully). > The theoretical option is a CDATA section. The > practical way (if you care > about IE, for example, which is XHTML ignorant and > doesn't grok CDATA > sections either) is to use workarounds that avoid > the constructs that > trigger something in #PCDATA parsing. Both ways seemed to work, but since I have lots of those triggering characters I think the CDATA is easier way. Thanks __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mailReceived on Saturday, 21 August 2004 22:19:23 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:44 UTC