On Jan 17, 2006, at 5:40 PM, Titus Brown wrote:

How do you escape "'"?

e.g.

<input type='text' name='blah' value='%(value)s'>

where value="contains'quotes\"of all kinds"?

That could (should?) be done using html character entities, e.g.

        value="contains&apos;quotes&quot;of all kinds"

This assumes however a target xml vocabulary that knows about these character entities... but isn't this done for you automatically by htmltext in quixote, or by h8 in qpy?

mario



_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to