Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.7.1, 1.8 M2
-
None
-
IE
Description
In the wiki editor, type:
*** test1 *** test2
When editing in wysiwyg mode, the lists html will be
<ul> <li><br /> <ul> <li><br /> <ul><li>test1</li></ul> </li> </ul> </li> </ul> <ul> <li><br /> <ul> <li><br /> <ul><li>test2</li></ul> </li> </ul> </li> </ul>
Now, if the caret is positioned in the first list item in the second list, the endOffset reported will be 1, even if it really is before the <br /> (to test this, just type something in, it will be typed before the <br />).
Note that this will not happen for the first list, nor for any of the items on a different level than the first, nor for any other element but the first element in the list.