When ik have tekst with a single quote like this one " ' " it gives an error, because the sql query has a conflict sow i took a look at the source, it seems to be that the single quote is not replaced by the ' so it wouldn't give an sql query error.
In the fckeditor.js file ther is a function called HTMLEncode
ass you can see this code says that it also has to replace the single qoute but it seems not to be working.
if ( typeof( text ) != "string" )
text = text.toString() ;
text = text.replace(/'/g, "'") ;
text = text.replace(/&/g, "&") ;
text = text.replace(/"/g, """) ;
text = text.replace(/</g, "<") ;
text = text.replace(/>/g, ">") ;
return text ;
}
In the fckeditor.js file ther is a function called HTMLEncode
ass you can see this code says that it also has to replace the single qoute but it seems not to be working.
if ( typeof( text ) != "string" )
text = text.toString() ;
text = text.replace(/'/g, "'") ;
text = text.replace(/&/g, "&") ;
text = text.replace(/"/g, """) ;
text = text.replace(/</g, "<") ;
text = text.replace(/>/g, ">") ;
return text ;
}