【发布时间】:2017-06-30 18:09:28
【问题描述】:
我设置了一个运行 Pug 作为视图引擎的小型 Node.js 服务器。
当我写下一些文本时,除了变音符号 (ÄÖÜäööü) 和 ß 之外,Pug 会自动对其进行转义。
有没有办法以使 ä 显示为实际 ä 的方式转义字符?使用实体或 html-entities 时,我会得到一个带有感叹号的黑框或实际的转义序列。
【问题讨论】:
-
你能举个例子吗?
标签: html node.js pug html-entities