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

Started by
1 comment, last by khawk 4 years, 2 months ago

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)
Advertisement

Just wanted to acknowledge I saw this. Looking at it..

Admin for GameDev.net.

This topic is closed to new replies.

Advertisement