Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Use same |safe idiom in assets as elsewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Feb 6, 2015
1 parent 67d6318 commit 5453ea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/assets/gratipay.css.spt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ css = sass.compile(output_style=str(output_style),filename=str(filename))
if website.cache_static:
css = url_re.sub(url_sub, css)
[---]
{% autoescape false %}{{ css }}{% endautoescape %}
{{ css|safe }}
2 changes: 1 addition & 1 deletion www/assets/gratipay.js.spt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ for root, dirs, files in os.walk(js_root):
content = content.decode('ascii')
catted.append(content + '\n')
[---]
{% autoescape false %}{{ "".join(catted) }}{% endautoescape %}
{{ "".join(catted)|safe }}

0 comments on commit 5453ea5

Please sign in to comment.