Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-74004

Bug with code macro in blog-posts

    XMLWordPrintable

Details

    Description

      Issue Summary

      When we use the "code macro" in blog posts, it is not displayed correctly via the blog-post macro on the pages.

      Steps to Reproduce

      1. Create a blog post with code snippet macro
      2. Publish the blog 
      3. Create a page in the same space
      4. Add the /blogposts macro to display all the blogs from the same space
      5. Set parameter: "Content Type to Display" = Entire
      6. Publish the page

      Expected Results

      The page should display the code correctly along with the line number.

      Actual Results

      The code block macro is distorted in the published mode, i.e. no line number and grey block added in start and end of the blog post macro content.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            9219e3807eac Nitika Arora
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: