Escape CSS Variables

This commit is contained in:
Jeremy Zhang
2017-09-11 01:26:26 +00:00
parent 1fe4943cf2
commit 214bbfa162
2 changed files with 12 additions and 12 deletions

View File

@ -20,7 +20,7 @@
{% include 'google_analytics.html.j2' %}
{% if css is not none %}
<style id="user-defined-css">{% if cssvariables is not none and css.css_var_bool %}{{ cssvariables }}{% endif %} {{ css.css }}</style>
<style id="user-defined-css">{% if cssvariables is not none and css.css_var_bool %}{{ cssvariables|e }}{% endif %} {{ css.css }}</style>
{% endif %}
</head>
<body>