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

Includes of a page will not be reused if the page will included on another page #4133

Closed
jasonF1000 opened this issue Mar 27, 2023 · 1 comment
Labels

Comments

@jasonF1000
Copy link
Contributor

Describe the Bug

If i have a page with includes from another page and i try to reuse this page also as an include on another Page. The includes from the page will not be resolved. Only showing the include tags.
Also i another way of explanation:
Page A includes a section of Page B -> it works the include will be resolved.
Page C includes now Page A -> Page A is resolved but the include of Page B will not be resolved on Page C

i hope this was clear

Steps to Reproduce

  1. reuse page b on page a
  2. reuse page a on page c
  3. you will see that the page b content will not be resolved on page c

Expected Behaviour

the expected behaviour ist that the resolving of the content works also if i reuse a page which already have includes from another page.

Screenshots or Additional Context

content-reuse-issue

Browser Details

No response

Exact BookStack Version

v23.02.1

PHP Version

No response

Hosting Environment

as Container on a kubenetes Cluster.
Application is working fine only a content reuse issue

@ssddanbrown
Copy link
Member

Thanks for raising, but this is not a bug, but the include feature has been built to only include a single level.
A request for nested includes is already open in #2845 so I'll close this off.

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

No branches or pull requests

2 participants