我在Firebug中看到这个角色.
我不知道为什么会这样,我的代码中没有这样的字符.对于Firefox来说没关系,但在IE中一切都会中断.我甚至无法在Google中搜索此角色.
我用utf-8编码保存了我的文件而没有bom.

我接受用户输入(JS代码)并实时执行(处理)它们以显示一些输出.
有时代码具有零宽度空间,这真的很奇怪.我不知道用户是如何输入的.示例 - "(?$".length === 3
我需要能够从JS中的代码中删除该字符.我该怎么办?或者也许还有其他一些方法来执行JS代码,以便浏览器不考虑零宽度空格字符?
我把我的代码放在XML验证网站上,它给了我这个错误:
第8行:4根元素后面的文档中的标记必须格式正确.
有问题的<xsl:output method = "html" doctype-system = "about:legacy-compat"/>行是,行.
<?xml version="1.0"?>
<!-- Fig. 15.21: sorting.xsl -->
<xsl:stylesheet version = "1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
<!-- write XML declaration and DOCTYPE DTD information -->
*<xsl:output method = "html" doctype-system = "about:legacy-compat" />*
<!-- match document root -->
<xsl:template match="/"> -<html> <xsl:apply-templates/> </html>
</xsl:template>
Run Code Online (Sandbox Code Playgroud)