I have a page of text areas. Each text area contains a simple html file. When I click to save one of the text areas, the header info of the embedded html file is incorrectly written.
Original html file
After saving with ckeditor
So the quotes are all being escaped, an extra <p> tag is added, and the style sheet no longer works.
Is there a config setting for ckeditor to control this or stop this?
Original html file
<style type="text/css"></style> <link href="../blogs.css" rel="stylesheet" type="text/css" /> <h3>Febuary 2012</h3>
After saving with ckeditor
<style type=\"text/css\"> </style> <p> </p> <p> <link href=\"../blogs.css\" rel=\"stylesheet\" type=\"text/css\" /> </p> <h3> Febuary 2012</h3>
So the quotes are all being escaped, an extra <p> tag is added, and the style sheet no longer works.
Is there a config setting for ckeditor to control this or stop this?
Re: File in text area saved incorrectly
Here is the code snippet for this textarea
and the step2.php files
I hope that is everything needed to show what I am doing
Re: File in text area saved incorrectly
Oh and here is the header code for replacebyclass.php
Re: File in text area saved incorrectly
Re: File in text area saved incorrectly
Re: File in text area saved incorrectly