Ask Your Question

Removing HTML escapes from code

asked 2014-01-13 17:05:42 -0500

Mark McClure's avatar

updated 2014-01-13 17:09:43 -0500

Consider the following tiniest snippet of code

a < b

I typed this using a simple "less than" sign but on my 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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-13 17:29:24 -0500

Evgeny's avatar

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-13 17:05:42 -0500

Seen: 1,561 times

Last updated: Jan 13 '14