Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6 M2
-
Fix Version/s: 1.6
-
Component/s: {Unused} Rendering 2.0
-
Labels:None
-
keywords:bugfixingweek
-
Tests:Unit
-
Similar issues:
Description
This is because wikimodel doesn't generate events for 1 or 2 new lines between top level elements. They are not considered semantic by wikimodel. So there isn't much we can do.
For ex this means that the following:
para ---- para
will get transformed to:
para ---- para
if the user switches to the wysiwyg and back to the wiki editor. This is acceptable IMO since it simply means we're cleaning the content. Same as with "** something"" which we transform into "*something*".
In the future it would be good to "clean" the document content when in the wiki editor and when the user saves the content.