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

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

    Details

    • Tests:
      Unit
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: