Previously, I hadn't had a chance to do much with bug 655531 regarding
javascript escapes in PSP.
http://sourceforge.net/tracker/index.php?func=detail&aid=655531&group_id=4866&atid=104866
However I just took a look at it, as I have some javascript to
incorporate into my PSP in the near future.
I want to be very careful regarding the 0.8 release, but this seems
pretty streightforward. I thought I would double-check and see if
anyone can think of any reason why I shouldn't go and apply this?
In essence, Fazal Majid's patch which he included in the bug report is:
*** Generators.py~ Thu Mar 14 06:50:28 2002
--- Generators.py Tue Dec 17 20:19:41 2002
***************
*** 88,93 ****
--- 88,96 ----
#self.chars = string.replace(self.chars,'\t','\\\\t')
#self.chars = string.replace(self.chars, "'",
"\\'")
self.chars = string.replace(self.chars,'"',r'\"')
+ self.chars = string.replace(self.chars,r'\n',r'\\n')
+ self.chars = string.replace(self.chars,r'\t',r'\\t')
+ self.chars = string.replace(self.chars,r'\r',r'\\r')
self.generateChunk(writer)
def generateChunk(self, writer, start=0, stop=None):
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel
- Re: [Webware-devel] Javascript Escapes - patch 655531 Stuart Donaldson
- Re: [Webware-devel] Javascript Escapes - patch 65553... Ian Bicking
- Re: [Webware-devel] Javascript Escapes - patch 6... Stuart Donaldson
- Re: [Webware-devel] Javascript Escapes - pat... Ian Bicking