Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3191

New lines at the end of list items are not preserved by the wysiwyg

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8 RC1
    • 1.8 M1
    • WYSIWYG Editor
    • None
    • Firefox
    • Integration

    Description

      To reproduce, type this in wiki:

      * \\
      ** \\
      *** test1
      

      edit in wysiwyg, save and then edit back in wiki, the new lines in the first list items are no longer there.
      This is due to the fact that we mark all br unnecessary brs and strip them out when saving in wysiwyg, and this is a case when the br is unnecessary.

      It currently reproduces only in firefox, because stripping code only runs for firefox.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: