开发者

Prevent & from showing up html

On my html document for some reason instead of printing what it's suppose to be, it's just displaying

&开发者_Python百科amp;amp;

encoding is utf-8

any ideas?

Thanks


That's the entity code for a ampersand - which is why it's actually displaying as &. Just add amp to the end to actually show it.

&

Which will '&' in an HTML document.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜