我刚开始使用Jade——到目前为止,感觉非常棒。
但是我需要一个带有'itemscope'属性的元素:
<header itemscope itemtype="http://schema.org/WPHeader">
我的Jade符号表示是:
header(itemscope, itemtype='http://schema.org/WPHeader')
但是结果是:
<header itemscope="itemscope" itemtype="http://schema.org/WPHeader">
我该如何确保我得到正确的结果 -- itemscope
而不是 itemscope="itemscope"
?