Ticket #14 (closed bug: fixed)

Opened 12 years ago

Last modified 12 years ago

Invalid generated code when rendering HeadRender with "async" model

Reported by: vrialland Owned by: apoirier
Priority: major Component: uncategorized
Version: 0.1.0 Keywords:


Sometimes a "missing ) after argument list
Line 13" if the response contains special characters.

line 941, 942 of xhtml.py :

css.replace("'", r"\'").replace('\n', ''),
js.replace("'", r"\'").replace('\n', '').encode('utf-8')


css.replace('\\','\\\\').replace("'", r"\'").replace('\n', ''),
js.replace('\\','\\\\').replace("'", r"\'").replace('\n', '').encode('utf-8')

Change History

comment:1 Changed 12 years ago by apoirier

  • Status changed from new to closed
  • Resolution set to fixed

(In [df275dba3f010375c92fc02e0c20e6b2f45e50fb]) AJAX communications refactoring:

  • using YAHOO.Get
  • no more DummyRenderer
  • handling of anonymous scripts and css styles
  • correct transcoding of unicode strings

Fixed #13 and #14

Note: See TracTickets for help on using tickets.