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

The rendering component does not handle \\ and empty line correctly together

    XMLWordPrintable

Details

    • Unit

    Description

      When using
      with an empty line together the empty line is ignored.

      Example

      line 1
      
      line 2 after one empty line
      

      becomes

      line 1<p>line 2 after one empty line</p>

      while

      line 1
      \\
      \\
      
      line 2 after 2 carriage return and one empty line
      

      becomes

      line 1<br><br>line 2 after one empty line

      We can see that the <p> is gone. We can also see that <br> should be <br />

      Attachments

        Activity

          People

            ludovic Ludovic Dubost
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: