- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Thu, 30 Nov 2006 04:21:31 +1100
Mihai Sucan wrote: > Web developers want to be able to share code between XHTML and HTML > projects. Yes, some web developers want to do stupid things. If you want to share data between HTML and XHTML, then do it properly. Parse it in one form and re-serialise it in the other. Don't just use string processing to do silly things like this: xhtml = "<p>" + html + "</p>" -- Lachlan Hunt http://lachy.id.au/
Received on Wednesday, 29 November 2006 09:21:31 UTC