I have a forum where any user can write the articles. The forum is powered with aloha editor for user input.It has one page for editing and another page for display.But the problem arises when user trying to input html code.
Suppose a user write a header tag
`<h1>header</h1>`
it is outputting
Header
Insted of that i want to output
<h1>Header</h1>
Any sugections?.
You should escape the html code, for example you should use:
<h1>Header</h1>Instead of
<h1>Header</h1>