Parses HTML code and outputs without escape

How to parse and output HTML code without escaping in the Anqi CMS template?

safe

Note: Usesafe

How to use

safeHow to use filters:

{{ obj|safe }}

For example<script>Keep the output without escaping, you can write it like this:

{{ "<script>"|safe }}
# 显示结果
<script>

Sample Demo

{{ "<script>"|safe|escape }}
{{ "<script>"|safe|e }}

Show results

&lt;script&gt;
<script>