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

The excerpt macro when used in "block" mode should render surrounding paragraph (<p>) tags

      When you use an excerpt macro and set it to 'block' (not 'inline') then it fails to render within a paragraph. This causes inconsistency in the displayed page.
      e.g.
      .

      The rendered markup for the screenshot is:

      <h1 id="id--Aheading">A heading</h1>
      This is an excerpt after a heading
      <h1 id="id--Asecondheading">A second heading</h1>
      <p>This is standard paragraph text.</p>
      This second paragraph is in an excerpt macro.
      <p>Third paragraph is standard.</p>
      <p>And so is the fourth.</p>
      

      This is raised on behalf of a customer from Answers

          Form Name

            [CONFSERVER-25878] The excerpt macro when used in "block" mode should render surrounding paragraph (<p>) tags

            Minh Tran added a comment -
            Atlassian update

            Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out.
            If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue.
            Thanks again.
            Regards,
            Confluence Development

            Minh Tran added a comment - Atlassian update Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out. If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue. Thanks again. Regards, Confluence Development

            Darryl, IMHO atlassian made confluence HTML5 too early without correcting the markup, but keep changing symantic markup with each release which as a plugin and theme developer has been nightmarish. The amount of post processing JavaScript to correct markup I have is increasing.

            We happen to also use RefinedWiki which just makes our problem 100x worse and becomes a nightmare for me with each new release of confluence. Early 5.x upgrades were a dark time.

            Brett Ryan added a comment - Darryl, IMHO atlassian made confluence HTML5 too early without correcting the markup, but keep changing symantic markup with each release which as a plugin and theme developer has been nightmarish. The amount of post processing JavaScript to correct markup I have is increasing. We happen to also use RefinedWiki which just makes our problem 100x worse and becomes a nightmare for me with each new release of confluence. Early 5.x upgrades were a dark time.

            Darryl added a comment -

            Hi Brett,

            In fairness to the Confluence team, this is a bug that's been lurking for years... just not high on the priority list, with all of four votes now.

            Our theming add-ons depend heavily on the quality of the HTML output by Confluence, and while not perfect, we've watched that quality go up dramatically and consistently over the past years. So I have to respectfully disagree with your assessment of the trend

            Darryl added a comment - Hi Brett, In fairness to the Confluence team, this is a bug that's been lurking for years... just not high on the priority list, with all of four votes now. Our theming add-ons depend heavily on the quality of the HTML output by Confluence, and while not perfect, we've watched that quality go up dramatically and consistently over the past years. So I have to respectfully disagree with your assessment of the trend

            I'm hoping that Atlassian pick this one up soon. Considering confluence is HTML5, yet this macro generates illegal markup should be treated a little more highly. The fancier I see confluence get, the worse the markup seems to get.

            Brett Ryan added a comment - I'm hoping that Atlassian pick this one up soon. Considering confluence is HTML5, yet this macro generates illegal markup should be treated a little more highly. The fancier I see confluence get, the worse the markup seems to get.

            Darryl added a comment -

            This issue also affects Theme Press (and any other styling/theming plugin that cares about fonts and paragraph spacing). I just verified that it's still an issue in 5.6.5.

            Darryl added a comment - This issue also affects Theme Press (and any other styling/theming plugin that cares about fonts and paragraph spacing). I just verified that it's still an issue in 5.6.5.

            NazariyL added a comment -

            I would love to see this fixed. This is also affects the Multiexcerpt Plugin (https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro).

            When you put two excerpts starting with a paragraph next to each other and make an HTML export of the page, the two paragraphs will be merged into one...

            NazariyL added a comment - I would love to see this fixed. This is also affects the Multiexcerpt Plugin ( https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro ). When you put two excerpts starting with a paragraph next to each other and make an HTML export of the page, the two paragraphs will be merged into one...

              Unassigned Unassigned
              pcurren Paul Curren
              Affected customers:
              7 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: