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

Empty paragraphs should not be displayed even if they have styles applied to them

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7.1, 1.8 M1
    • 1.6 M2
    • WYSIWYG Editor
    • None
    • Integration

    Description

      To reproduce:

      • In wiki mode type
        (% style="color: blue; text-align: center;" %)
        Hello world
        
      • In wysiwyg editor, move cursor to space between "Hello" and "world" and type return several times (say 3 times)
      • Save

      You'll see the following in wiki mode:

      (% style="color: blue; text-align: center;" %)
      Hello 
      
      
      (% style="color: blue; text-align: center;" %)
      
      
      
      (% style="color: blue; text-align: center;" %)
      
      
      
      (% style="color: blue; text-align: center;" %)
      world
      

      I don't know yet where this should be fixed:

      • in the XHTML parser
      • in the HTML cleaner
      • in the editor itself

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: