Disable html within defined tags

Posted on 16th Feb 2014 by admin

I have a mysql database that allows users to enter content with html, but I also want to have a tag that will disable the html between it for example:

<a href="a.html">a</a>
[nohtml]
<a href="b.html">b</a>
[/nohtml]

Thus it should look like after formatting:
a
<a href="b.html">b</a>

How would I go about doing this?

Other forums