Re: [xwiki-devs] [xwiki-notifications] r12815 - in platform/core/trunk/xwiki-rendering/src: main/java/org/xwiki/rendering/renderer test/resources/paragraph
vmassol (SVN) wrote:
Author: vmassol Date: 2008-09-21 01:15:55 +0200 (Sun, 21 Sep 2008) New Revision: 12815
Modified: platform/core/trunk/xwiki-rendering/src/main/java/org/xwiki/rendering/renderer/XHTMLRenderer.java platform/core/trunk/xwiki-rendering/src/test/resources/paragraph/paragraph1.test Log: XWIKI-2687: GWT WYSIWYG editor removes new lines when pasting content * Use the expanded form for DIV: <div></div>. For some reason the short form <div/> doesn't work fine for xwiki in FF3 (even though the XHTML validator says it's valid).
That's probably because of the mime-type. For XML to work properly, it should be sent as application/xhtml+xml or something like that. text/html triggers the plain HTML parser. Anyway, it is better this way, as IE (<=6) does not accept XHTML even with the right mime-type. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (1)
-
Sergiu Dumitriu