标签: html gruntjs gruntfile grunt-includes
当我向grunt-include-replace添加字符串时,如下所示,我收到了一个意外的令牌错误'在控制台和html文件中没有编译。
@@include('components/navigation.html', { "list-elements": "<li><a href="#">home</a></li>" })
我认为特殊字符&lt;&gt; /#&#34;。
如何让这些字符在字符串中起作用?