Version 88.0.4324.146 (Developer Build) built on Debian 10.7, running on
Debian 10.8 (64-bit)

试了一下第一遍不行,第二遍可以

wojiushixxx <[email protected]> 于2021年2月20日周六 下午12:53写道:

>
> 如果document.write()方法中传入的字符串的末尾有经过转义的大于号,那么Chromium内核的浏览器不能显示这个大于号,而经过测试,FireFox浏览器就可以显示
> 测试代码:document.write("&gt;")
> 我测试的浏览器
> 会忽略大于号的:Windows端的Chrome88、Edge88、安卓端的华为浏览器(Chromium内核)
> 不会忽略大于号的:Ubuntu端的Firefox84、85
> 你们的浏览器能显示出这个大于号吗?
>
>
>
>

回复