iansan at gmail.com
Thu Oct 11 08:23:06 CEST 2007
My website is built from a Python CGI and works great. I'm now
first contains the display settings for the ads, and the second piece
is a very lengthy garbled js file at http://pagead2.googlesyndication.com/pagead/show_ads.js
correctly, however the second file throws an "unterminated string
literal" js error. Looking at it you can see a healthy amount of both
single and double quotes, which is where my problem lies.
What is the best way to get the second js file into a nice printable/
usable format? cgi.escape? xml.sax.saxutils.quoteattr? String
substitution? I could use some guidance.
More information about the Python-list