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

Code viewer doesn't allow to copy blank lines

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.10.2, 12.6.4, 12.9, 11.10.12
    • Fix Version/s: None
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Reproduction steps:

      • Create a page with the following content:
        Line 1
        
        Line 2
        
      • Open the page with ?viewer=code
      • Copy the content

      Expected result:

      • The copied content contains the blank line

      Obtained result:

      • The copied content is the following:
        Line 1
        Line 2
        

      This is particularly wrong in XWiki Syntax where blank lines are important.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: