Comment 3 for bug 777890

Revision history for this message
Luc Saffre (luc-saffre) wrote :

Oops, I changed my mind: don't close this bug.

Because the same problem occurs with XHTML fragments saved by TinyMCE. And there it would be really strange to remove the surrounding DIV tag from these fragments.

I have the feeling that it should not be necessary to to remove the <div> tag.
Isn't it strange that the XHTML() function wraps the given string into a <P>...</P>.
I tried to wrap it into a <DIV>...</DIV> instead of <P>, but that didn't change anything.