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

Consistent behavior in stripping unnecessary empty lines/spaces between Wiki and WYSIWYG editors

    XMLWordPrintable

Details

    Description

      Take this example:

          1.1 Section a
      
      some     text    
      
      
      1.1 Section b
      
      
      some other text
      

      There are some unnecessary empty lines and space in that text. The correct rendering is equivalent to:

      1.1 Section a
      
      some     text    
      
      1.1 Section b
      
      some other text
      

      Right now the editors behave like this:

      • Wiki editeur does not change doc content but renders without unnecessary blank lines/spaces
      • WYSIWYG editor changes the doc content by removing the unnecessary blank lines/spaces

      We should have the same behavior for both, so:

      • either the Wiki editor should strip unnecessary lines/spaces
      • either the WYSIWYG editor shouldn't modify the content and keep the unnecessary blank lines/spaces

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: