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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pcurren Paul Curren
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: