Просмотр исходного кода

Added | safe filter to prevent escaping characters in the css

deadtom 2 недель назад
Родитель
Сommit
b8657e2728
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ownchatbot/templates/list.html

+ 1 - 1
ownchatbot/templates/list.html

@@ -6,7 +6,7 @@
     <meta http-equiv="refresh" content="10">
     <meta http-equiv="refresh" content="10">
     <title>Today's to-do List</title>
     <title>Today's to-do List</title>
     <style>
     <style>
-        {{ css }}
+        {{ css | safe }}
     </style>
     </style>
     <script>
     <script>
       function refreshPage() {
       function refreshPage() {