Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22110

In code or preformatted block, a line beginning with multiple spaces causes the page to be uneditable

    XMLWordPrintable

Details

    Description

      There are some pages in our Confluence system that we cannot edit. It appears that that for any page where there are code blocks, and within those code blocks there are lines with several leading spaces, that the page cannot be edited.

      (I suspect that this is a bug that has been introduced at some point, as I can recall this not previously being an issue.)

      An example would be...

               pure-pw useradd <login> [-f <passwd file>] -u <uid> [-g <gid>]
                               -D/-d <home directory> [-c <gecos>]
                               [-t <download bandwidth>] [-T <upload bandwidth>]
                               [-n <max number of files>] [-N <max Mbytes>]
                               [-q <upload ratio>] [-Q <download ratio>]
                               [-r <allow client host>[/<mask>][,<allow client host>[/<mask>]]...]
                               [-R <deny client host>[/<mask>][,<deny client host>[/<mask>]]...]
                               [-i <allow local host>[/<mask>][,<allow client host>[/<mask>]]...]
                               [-I <deny local host>[/<mask>][,<deny local host>[/<mask>]]...]
                               [-y <max number of concurrent sessions>]
                               [-z <hhmm>-<hhmm>] [-m]
      

      Symptoms vary slightly depending on browser:

      Firefox 3.6/4.0: Editor opens but is empty and it is not possible to switch to preview or source.
      IE 9.0: [Seperate to this issue, it seems that rich text editing is broken in IE9. (Blocks are not shown and carriage returns do not behave as expected.)] Not possible to switch to markup or preview.
      Chrome: Chrome is fine, so that's my workaround. I note that it is quite slow though, indicating that possibly there's an exception being handled?

      Any other questions, please let me know.

      Attachments

        1. bad.png
          bad.png
          4 kB
        2. badenough.txt
          0.8 kB
        3. good.png
          good.png
          4 kB
        4. good.txt
          0.8 kB
        5. hex.png
          hex.png
          7 kB
        6. Warning_Unresponsive_Script_Firefox.jpg
          Warning_Unresponsive_Script_Firefox.jpg
          49 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f4ab7f3591f9 Bob McChesney
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: