I\'m in a curious situation where I previously had no problem achieving what I\'m looking for. The following code is a part of an HTML page which is to host a TinyMCE rich t
Given that the presence of tags causes the transformation, I suspect that your HTML ends up looking like:
...
...
Unfortunately, HTML elements aren't technically allowed inside tags, so something may be considering the
tags as the start of a new block element, implicitly closing your textarea. To fix this, you can encode the angle brackets:
...
...
Using PHP, this can be done by sending your value through htmlspecialchars()
before echoing it to the page.