[Webdev] escaping quotes in html
John P. Looney
john at antefacto.com
Thu Aug 2 14:32:34 IST 2001
On Thu, Aug 02, 2001 at 12:47:23PM +0100, Stephen McCullough mentioned:
> > <input type="text" name="box" value=""asdasd as" ASdasd " asdasd "' asd'">
> If you change the " to ' it should work. In other words instead of using
> " to close your value use value=''.
> <input type="text" name="box" value='"asdasd as"" ASdasd "" asdasd ""' asd'"'>
That's demented. My head hurts. For a simpler example, if I had;
<input type="text" name="box" value=" "my boy's" ">
I should change that to;
<input type="text" name="box" value=' "my boy"'"s" '>
?
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
More information about the Webdev
mailing list