我正在尝试用jade制作一个电子邮件模板,我想把它放在codepen中,这样其他人就可以访问它了。然而,每次我得到一个错误:
CodePen removed the words below from your Jade because they could be used to do bad things. Please remove them and try again.
->greensborohomevalue
->com <br>
->style <br>
->color <br>
->white <br>
->text <br>
->decoration <br>
->15 <br>
->span <br>
->style <br>
->color <br>每一段文字。等
我的CodePen可以在这里找到,http://codepen.io/Cutcopy/pen/qdRmOR。
你知道它为什么要这么做吗?它在我的桌面上编译得很好。
发布于 2016-01-05 01:31:22
我在CodePen上收到了一个类似的错误,因为我的Jade包含字符串“node”。
CodePen removed the words below from your Jade because they could be used to do bad things. Please remove them and try again.
->node我的标记中包含一个元素,该元素包含一个名为“ordered-chart-nodes”的类。将字符串“node”更改为其他字符串(在我的示例中为“ordered-chart”),修复了该错误。
有趣的是,如果在Codepen上使用HTML Jade或Haml预处理器,就会发生这样的错误。允许字符串“node”存在常规HTML标记。
https://stackoverflow.com/questions/30534848
复制相似问题