First time here? Check out the FAQ!
0

Removing HTML escapes from code

  • retag add tags

Consider the following tiniest snippet of code

a < b

I typed this using a simple "less than" sign but on my http://askbot.com based AskBot, that less than sign is rendered as an &lt; -i.e., it's been replaced by it's HTML escape code.

There clearly must be a way to avoid this - somewhere in the settings menus, as this doesn't happen on this site, but I can't seem to find it. Any advice?

Mark McClure's avatar
21
Mark McClure
asked 2014-01-13 17:05:42 -0600, updated 2014-01-13 17:09:43 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The goal of this is to remove the html injection in the posts. We have this hard-coded by design.

Evgeny's avatar
13.2k
Evgeny
answered 2014-01-13 17:29:24 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments