Flask---模板與自定義過濾器

模板 文件目錄 -template.py -index.html 過濾器 字符串操作 禁用轉義:{{ ‘hello’ | safe }} 禁用轉義:{{ ‘hello’ | safe }} 刪除標籤:{{ ‘hello’ | striptags }} 首字母大寫:{{ ‘hello’ | capitalize }} 所有值小寫:{{ ‘HELLO’ | lower }} 首字母大寫:{{ ‘hel
相關文章
相關標籤/搜索