tags:

views:

33

answers:

2

I have a xml file with data

<ul>
  <li><info>CSS text formatting </info></li>
  <li><info>Text loaded from a XML</info></li>
  <li><info>Scrolls with easing</info></li>
</ul>

For editing the content i have used tinymce editor.For editing i am parsing the xml file and putit in a textarea that is for timymce edtor.In the editor i am getting the <info> tag after the <li> tag.But when iam submitting the value the <info> tag is not getting.How i can get <li><info>Text loaded from a XML</info></li> when i am submitting the form.Thanks in advance.

+1  A: 

info is not a valid html tag.

Petah
Is their any way to get all the html tag
THOmas
As stated, info is not an HTML tag. Thus, you are getting all HTML tags.
Pelle ten Cate
How can i get '<li><info>Text loaded from a XML</info></li>'
THOmas
Either you cant, or you shouldn't. Only use valid HTML tags.
Petah
+1  A: 

Add this code in tinymce configuration

extended_valid_elements : "info",
custom_elements: "info",
THOmas