Taurus.MVC icon indicating copy to clipboard operation
Taurus.MVC copied to clipboard

页面js使用 \" 时,会发生错误:“\”为意外标记。预期标记为“"”或“'”。

Open lee9999 opened this issue 7 years ago • 1 comments

在页面上使用 " 时, 如:list += "<i class="" + $(this).icon + "" />"; 则在解析页面时会发生错误:“\”为意外标记。预期标记为“"”或“'”。

lee9999 avatar Dec 01 '17 09:12 lee9999

如果是:js在后期处理,不会有问题。 如果是后台生成,就要注意一开始是否符合xhtml规则。

有情况可以进QQ群号:6033006

cyq1162 avatar Dec 01 '17 10:12 cyq1162

如果页面的标签不符合xhtml规则,可以用 包含起来。

cyq1162 avatar Jan 24 '24 06:01 cyq1162