I paste my code in Wymeditor inside a <pre> tag. I save the post and everything is great.
Now, when I want to edit the post there is a problem.
The text from the database is this:
- Code: Select all
<pre> <div id="leftcolumn"><br /> <ul id="menu"><br /> <li><a href="<?=site_url("blog")?>"><img src="<?=base_url()?>media/images/site/menu/1-Blog.png" alt="Blog" title="Blog" /></a></li><br /> <li><a href="index.htm#blog"><img src="<?=base_url()?>media/images/site/menu/2-Fotoalbum.png" alt="Foto's" title="Foto's" /></a></li><br /> <li><a href="index.htm#blog"><img src="<?=base_url()?>media/images/site/menu/3-Projects.png" alt="Projecten" title="Projecten" /></a></li><br /> <li><a href="index.htm#blog"><img src="<?=base_url()?>media/images/site/menu/4-Aboutme.png" alt="Over mij" title="Over mij" /></a></li><br /> <li><a href="index.htm#blog"><img src="<?=base_url()?>media/images/site/menu/5-Links.png" alt="Links" title="Links" /></a></li><br /> <li><a href="index.htm#blog"><img src="<?=base_url()?>media/images/site/menu/6-Contact.png" alt="Contact" title="Contact" /></a></li><br /> </ul><br /> </div></pre>
as you can see, all tags nicely changed so they can be interpreted as text and not as html.
But when I load the database value in my textarea, wymeditor interpretes all my text-html as real-html Is there a way to change this?