I am currently using ckEditor with ckFinder in Symfony. When I save the form, the HTML is saved (apparently) correctly in the database. When I query through symfony and retrieve the results, the html tags are removed and replaced. Can I prevent this? Below is an example of what is in the database. I tried to insert what HTML shows, but the current eidtor translates it
The database shows:
<p> Test</p> <p> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="movie" value="/uploads/flash/test1.flv" /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="/uploads/flash/test1.flv" type="application/x-shockwave-flash"></embed></object></p>
Actaul HTML (note I replaced, __, as the editor translated it into the above):
& lt__p & gt__ Test & amp; l __ / p & gt__ & amp; lt__p & gt__ & lt__object classid = & quot__clsid: d27cdb6e-ae6d-11cf-96b8-444553540000 & quot__ codebase = & quot__http: //download.macromedia.com/pub/shockwave/cabs/flash/swflash.cabversion , 0 ""> <<<<<> <w → "" "" "" "value =" & hairsp; ? hairsp; ? hairsp; ? hairsp; ? hairsp; ? hairsp; & lt_param name = & quot__movie "value =" quot; test1.flv "quot __ / & gt __ & lt__embed pluginspage =" http://www.macromedia.com/go/getflashplayer"__ quality = "high" src = "__ / uploads / flash / test1.flv"; quot; type = & quot_application / x-shockwave-flash "__ & gt; __ & lt __ / embed & gt; __ & lt __ / object & gt; __ & lt __ / p & gt __
source share