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.
精彩评论