更新时间:2023-12-01 13:24:52
使用原始过滤器 :
{{ '©'|raw }}
http://twig.sensiolabs.org/doc/filters/raw.html
如果输出应该是 HTML,你也可以使用 HTML 实体符号,例如商标符号:
If the output is supposed to be HTML, you can also use HTML entity notation, for example trademark sign:
{{ '™' }}
或电子邮件签名:
{{ '@' }}