[SOLVED] TinyMCE adding code to my pages
Posted: Fri Jan 08, 2010 1:28 am
Hi
I'm unsure as to why this is happening but if I edit a page in source code view and save it TinyMCE is adding a doctype, title, html and body tags like the example below.
Any ideas as to why this is happening? I'm trying to get the site to validate as xhtml strict but with this happening it is impossible. The web site is www.princehall.co.uk
------------------------------------------------------
Reset TinyMCE back to defaults and it is behaving as it should. Not sure what my client has been messing around with.
I'm unsure as to why this is happening but if I edit a page in source code view and save it TinyMCE is adding a doctype, title, html and body tags like the example below.
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<title>Untitled document</title>
</head>
</__body>
<p>Test area, no content will be harmed playing with this...</p>
<__body>
</__html>
------------------------------------------------------
Reset TinyMCE back to defaults and it is behaving as it should. Not sure what my client has been messing around with.