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

Wrong Code Block Macro formatting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.9.3, 6.0.0-OD-2015.48.1
    • 5.1, 5.2.5, 5.3.4, 5.5.2, 5.8, 5.7-OD-44-026

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps to Reproduce

      1. Create a page
      2. Add a code block to it with the theme Fade to Grey
        • Preview the page and observe that the code block is a black background with white text
      3. Add another code block, and do not set a theme on it
        • Preview again and observe that both code blocks have the default formatting

      _______________________________
      Hi,
      We've experienced recently some problems with Code Block Macro. Those problems unfortunately started to repeat.

      Those are the steps that I've done:
      1. Wrote "Logback configuration" section with code block (formatting in attachment).
      2. Save the document.
      3. Edit and add upper section with another code block (different formatting) + some No Format block (I'm not sure if it's connected, but I think it's worth mention)
      4. Save

      Now all code blocks (as you can see in attachment) have the same formatting as last code block. I'm also not 100% sure if this formatting is inherited from last code block or just randomly.

      I hope it's reproducible and can be fixed easily.

      Confluence: 5.1
      Code Macro Plugin: 2.0.19

      Let me know if you need anythnig else.

      Attachments

        Issue Links

          Activity

            People

              jmcarthur James McArthur (Inactive)
              e6acccb59b07 Adam Latuszek
              Votes:
              33 Vote for this issue
              Watchers:
              41 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: