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

excerpt used in children macro doesn't process macros or line-breaks

    XMLWordPrintable

Details

    Description

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

      Use this macro:

      {children:excerpt=true}
      

      If one of the children has an excerpt that contains a macro (at least {toc} and {noformat}. which are the two I tested), then the macro is printed as is without processing, for example, the output for two pages looks like this (the emdash and the words after it are due to the excerpt parameter).

      • JournalTemporary3.4.5 — checking {noformat} noformat {noformat} works for excerpt.
      • TEMP3 — {toc}

      I've confirmed that the macros are processed when displaying the excerpt using {excerpt-include} and {pagetree} with the excerpt param.

      FYI, some processing is done--I tried putting in bold text, and that was rendered correctly.

      Attachments

        Issue Links

          Activity

            People

              xtaixe Xavier Sanchez
              cc97a2a324dd Jonathan Simonoff
              Votes:
              34 Vote for this issue
              Watchers:
              31 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: