Hi,
For one of my form entries I have incorporated the default TinyMCE editor to update content in a Text Area. This is useful to carry over styled content, bullets and other HTML formatting.
However when I add any HTML hyperlinks the data will not store in my DB table correctly.
I tried using the word "Google" with "http://www.google.com" as the hyperlink.
When I checked the MySQL database the following was stored:
I assume the stripping is a security check - is it possible to disable this and allow the HTML to be correctly formatted?
Thanks,
Brendan
For one of my form entries I have incorporated the default TinyMCE editor to update content in a Text Area. This is useful to carry over styled content, bullets and other HTML formatting.
However when I add any HTML hyperlinks the data will not store in my DB table correctly.
I tried using the word "Google" with "http://www.google.com" as the hyperlink.
When I checked the MySQL database the following was stored:
<div></div><ul><li><a mce_href="../../undefined/" href=|||||"||.||.||/||.||.||/||u||n||d||e||f||i||n||e||d||/||||"||>Google<br></a><br mce_bogus=|||||"||.||.||/||.||.||/||u||n||d||e||f||i||n||e||d||/||||"||></li></ul>
I assume the stripping is a security check - is it possible to disable this and allow the HTML to be correctly formatted?
Thanks,
Brendan