浏览器显示实体名称而不是符号
我有一个网格(不幸的是第三方),我用数据填充它。数据编码如下:
<test>
显示页面时我仍然看到
<test>
而不是
<test>
任何想法为什么?或者甚至如何在浏览器中显示 <
广告 <
?
I have a grid (unfortunately third-party) and I populate it with data. Data is encoded like:
<test>
When page is displayed I still see
<test>
instead of
<test>
Any ideas why? Or even how it's possible to display <
ad <
in browser?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,控件在幕后进行了 html 编码,打印的文本是:
It turned out that control did html encoding behind the scenes, and printed text was :