ok, so i made a mini Rich text editor and if i want to insert a link i insert into the textarea the html like this: <a href=http://google.com>go to google</a>
, it works just fine but when i reopen that text for editing i don't get the complete html tag...all i get is go to google
without <a href=http://google.com&gt;
and </a>
.
i have to mention that the text is stored in a xml
document.
Can someone tell me where the problem is and how should i do it to get the full <a href=http://google.com>go to google</a>
? thanks
LATER EDIT:
in my xml file special characters are escaped(ex: <
becomes \>
)