mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Escape user css in the dashboard. Should fix if brackets show up in the css code
This commit is contained in:
parent
26c0e7444f
commit
b3d5a7e171
@ -34,7 +34,7 @@ will have CSS cosmetic privilages removed, if caught. Please don't, we check the
|
||||
<div class="col s12">
|
||||
<p class="flow-text">Edit your CSS code here</p>
|
||||
<div style="position: relative; height: 40vh;">
|
||||
<div id="css_editor">{% if new %}/* Enter your CSS code here! */{% else %}{{ css.css }}{% endif %}</div>
|
||||
<div id="css_editor">{% if new %}/* Enter your CSS code here! */{% else %}{{ css.css|e }}{% endif %}</div>
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user