Hi, fck newbie here,
I've just implemented a basic CMS using FCKeditor, but when a page gets loaded into the editor it strips out all the tags - e.g. all of this gets removed:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content=" xxxx" /> <meta name="description" content=" xxxx " /> <title>xxxx </title> <link href="styles/styles.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .style1 {font-weight: bold} --> </style> </head> <body>
Is there any way to stop this? I don't have to worry (too much) about malicous code as the page is password protected and in a private directory.
How would I prevent this behaviour? Scanning the forums and google has given me nothing of use.
Any help would be greatly appreciated,
James
edit: I've got a feeling it might be something to do with the config.php file, does anyone know if this might be the case?
Re: Preventing the stripping of <body> etc tags for a CMS
Thanks anyway guys,
James