The forum operates in read-only mode. Please head to StackOverflow for support.
So I use the image button to add in an image and I get the following code which is right:
<img alt="" src="http://www.clujportal.com/images/general/downtownclujnapoca.png" />
Hi,in your situation " character is change to it's html entity and in this way it's saved in database. You can disable use html entities by CKEditor http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.entities or change this in your application before save in database.The third option is change this after read data from database.Please check:http://php.net/manual/en/function.htmlentities.phphttp://www.php.net/manual/en/function.htmlspecialchars.php
Re: CKeditor changes image code
Hi,
in your situation " character is change to it's html entity and in this way it's saved in database.
You can disable use html entities by CKEditor http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.entities or change this in your application before save in database.
The third option is change this after read data from database.
Please check:
http://php.net/manual/en/function.htmlentities.php
http://www.php.net/manual/en/function.htmlspecialchars.php