Hi:
I'm building a dynamic system and have run into a small problem.
I'm using a Browser-based wysiwyg editor , like the one in
http://www.blueshoes.org/en/javascript/editor/
The text gets inserted into a mySQL db.
The insertion of the text works fine. However, because of the text formatting used in the editor it adds quotes "" around tags. For example: <font color="red">
The problem occurs when I extract the data into javascript layers.
Because the output will be <font color="red"> . JS gets confused. Basically I need it to be outputted as:
<font color=\"red\">
I tried addslashes /stripslashes, but didn't help.
I can elaborate more if needed.
Any suggestions?
thanx in advance
Kamy