Hi
If I edit a page with php code in FCKEditor, " and ' gets replaced with \" and \'.
I have uncommented the line
so the code as such is preserved, apart from the mentioned issue.
Heres the content of the page before edit:
After opening the content in FCKEditor and just saving it, the content looks like this:
I can live with the <p> but the \" gives a php parse error.
Can anybody help with this?
Mikkel
If I edit a page with php code in FCKEditor, " and ' gets replaced with \" and \'.
I have uncommented the line
FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code
so the code as such is preserved, apart from the mentioned issue.
Heres the content of the page before edit:
<?php echo "Hej"; ?> Test text
After opening the content in FCKEditor and just saving it, the content looks like this:
<?php echo \"Hej\"; ?> <p>Test text</p>
I can live with the <p> but the \" gives a php parse error.
Can anybody help with this?
Mikkel