[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: xml pull parser
- From: "Adam D. Moss" <adam@...>
- Date: Mon, 21 Mar 2005 11:08:42 +0000
Hi!
This:
aString = string.gsub( aString, "<", "<" )
aString = string.gsub( aString, ">", ">" )
aString = string.gsub( aString, "&", "&" )
aString = string.gsub( aString, "'", "'" )
aString = string.gsub( aString, """, "\"" )
... isn't safe against stuff like &apos;
The correction is fairly obvious. :)
Regards,
--Adam
--
Adam D. Moss - adam@gimp.org