Skip to content

Excerpt-include macro don't detect except macro when except macro is into an other macro #391

@Josue-T

Description

@Josue-T

Step to reproduce:

  1. Create a page with this content (at this reference: Sandbox.exerptsource.WebHome):
{{confluence_layout}}
{{confluence_layout-section ac:type="single"}}
{{confluence_layout-cell}}
{{excerpt name="name" inline="true"}}
my content from except
{{/excerpt}}
{{/confluence_layout-cell}}
{{/confluence_layout-section}}
{{/confluence_layout}}
  1. Create an other page with this content
{{excerpt-include 0="Sandbox.exerptsource.WebHome" name="name" nopanel="true"/}}

Expected: we see the content

Currently: we have this error:

Image

The reason of this issue is that we try to do a search in the XDOM before we do the rendering of the macro content and so we get only the top level macro and not the inner macro.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions