Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Editing a post with ampersands in code converts them to HTML entities

$
0
0

I noticed that when editing a post that contains & in code, that these get converted to & in the editor, which is then display as such instead of the original &.

Edited once:

z = x & y;
if (a && b)

Original code block:

z = x & y;
if (a && b)

Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>