Skip to content

Commit

Permalink
Escape URL query parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Sep 26, 2011
1 parent b5c237e commit 2a4c070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathjax/api.py
Expand Up @@ -40,7 +40,7 @@ def expand_macro(self, formatter, name, content, args=None):
# We know scripts and scriptset elements are initialized because we called add_script before
if MATHJAX_URL not in formatter.req.chrome.get('scriptset'):
formatter.req.chrome.get('scripts').append({
'href': MATHJAX_URL + '&delayStartupUntil=configured',
'href': MATHJAX_URL + '&delayStartupUntil=configured',
'type': 'text/javascript',
})
formatter.req.chrome.get('scriptset').add(MATHJAX_URL)
Expand Down

0 comments on commit 2a4c070

Please sign in to comment.