瀏覽代碼

Added | safe filter to prevent escaping characters in the css

deadtom 1 周之前
父節點
當前提交
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">
     <title>Today's to-do List</title>
     <style>
-        {{ css }}
+        {{ css | safe }}
     </style>
     <script>
       function refreshPage() {