Hello everybody,
First, thank you for CKeditor, I love this editor !
My problem :
I have a problem with pre tag.
When I write this code :
<pre class="brush:xml;" title=""> <object data="playerMP3.swf" height="60" type="application/x-shockwave-flash" width="270"><param name="movie" value="playerMP3.swf" /><param name="wmode" value="transparent" /></object> </pre>
This code is entering in my DB properly, but when I edit the text I have the following code :
<pre class="brush:xml;" title=""></pre> <object data="playerMP3.swf" height="60" type="application/x-shockwave-flash" width="270"><param name="movie" value="playerMP3.swf" /><param name="wmode" value="transparent" /></object>
the </pre> move on top.
Idem when I write this code :
<pre class="brush:xml;" title=""> <object data="playerMP3.swf" height="60" type="application/x-shockwave-flash" width="270"><param name="movie" value="playerMP3.swf" /><param name="wmode" value="transparent" /></object> </pre>
This code is entering in my DB properly, but when I edit the text I have the following code :
<pre class="brush:xml;" title=""></pre> <object data="playerMP3.swf" height="60" type="application/x-shockwave-flash" width="270"><param name="movie" value="playerMP3.swf" /><param name="wmode" value="transparent" /></object>
</pre> moving on top and code become real html
Another question : Is there a way for ckeditor does not "change" the code ?
I read many thread on this forum but i have no response.
Could you please help me please ?
Thank you in advance
Regards,
Tutomania
Re: Problem with pre tag
So .. I have found a solution ... htmlspecialchars
htmlspecialchars solved my 2 problems

Thx
Re: Problem with pre tag
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!