Hi
I have a weird problem where the editor changes content to be non-xhtml.
I have noticed the source looses the closing / for single tags, some attributes remove their quotes and other attribute names change too.
img tags suffer from the removed /.
class="something" becomes class=something and colspan="2" becomes colSpan=2
Any ideas?
Dan
I have a weird problem where the editor changes content to be non-xhtml.
I have noticed the source looses the closing / for single tags, some attributes remove their quotes and other attribute names change too.
img tags suffer from the removed /.
class="something" becomes class=something and colspan="2" becomes colSpan=2
Any ideas?
Dan
RE: Editor changes content
This has been much talked about on this forum, in short it is that the MSHTML object that is being used does not support XHTML, so it will only create or convert to the HTML it supports.
Hence the XHTML that was added, although this is a clean up rather than changing the MSHTML object. For a bit more take a look at some other threads, such as this one:
https://sourceforge.net/forum/forum.php ... _id=257180
John
RE: Editor changes content
I ask because the editor now supports XHTML according to the features.
Also in the general forum there is atopic called XHTML and the discussion seems to imply that it works.
Dan
RE: Editor changes content
John
RE: Editor changes content
I wasn't clear, I have it enabled or at least the config file says so.
config.EnableXHTML = true;
I am going to play around more with this file and see if I can be sure it is being used.
Cheers
Dan