Ignore:
Timestamp:
Aug 21, 2009, 11:32:16 AM (15 years ago)
Author:
quentin
Message:

Apply javascript quoting after URL-escaping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/templates/functions.mako

    r2416 r2448  
    5151<%def name="helppopup(subj)">
    5252## Return HTML code for a (?) link to a specified help topic
    53 <span class="helplink"><a href="help?simple=true;subject=${subj | u}" target="_blank" onclick="return helppopup(${subj | jquote,u})">(?)</a></span>
     53<span class="helplink"><a href="help?simple=true;subject=${subj | u}" target="_blank" onclick="return helppopup(${subj | u,jquote})">(?)</a></span>
    5454</%def>
Note: See TracChangeset for help on using the changeset viewer.