jinja2 把文本变成html

data 是传过去的值 过滤器 |

{{data.name | safe}}

原文地址:https://www.cnblogs.com/guanong/p/10363537.html