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

Code viewer doesn't allow to copy blank lines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.10.2, 12.6.4, 12.9, 11.10.12
    • None
    • Unknown

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: