2009-08-12, 06:11:55
problem is due to the insert code for the pages,
if you remove the htmlspecialchars code everything still works fine and the images are fixed.
do we need htmlspecialchars if were using CDATA in the XML files ??
Don't knwo too much about XML but from what I''ve read, it should be fine as its all ignored by the parser.
All work fine without it....
Code:
if(isset($_POST['post-content'])) { $content = htmlspecialchars($_POST['post-content'], ENT_QUOTES); }
if you remove the htmlspecialchars code everything still works fine and the images are fixed.
Code:
if(isset($_POST['post-content'])) { $content = $_POST['post-content']; }
do we need htmlspecialchars if were using CDATA in the XML files ??
Don't knwo too much about XML but from what I''ve read, it should be fine as its all ignored by the parser.
All work fine without it....