Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Josue-T opened this issue Jan 16, 2025 · 0 comments

Comments

@Josue-T
Copy link
Contributor

Josue-T commented Jan 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant