Reusing Page Content - inlcude the content within the element #2969

Closed
opened 2026-02-05 05:55:10 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @hctrr on GitHub (Aug 18, 2022).

Describe the Bug

Including all the content from a page with {{@5}} works.

The current bug is when attempting to include the content within the element of the ID.
when entering the syntax: {{@202#bkmrk-copy-this-section}}
the end result will be text that simply reads "copy this section"

Steps to Reproduce

Generate the Tag:
image

Update page with the tag syntax:
image

Results:
image

Expected Behaviour

The full section (header and body) of the within {{@202#bkmrk-copy-this-section}} to be mirrored on the new page.

as mentioned - Including all the content from a page with {{@202}} works. its just when attempt to use sections.

Screenshots or Additional Context

No response

Browser Details

Firefox 103.0.2

Exact BookStack Version

v22.07.3; v22.06.2

PHP Version

No response

Hosting Environment

https://github.com/linuxserver/docker-bookstack

Originally created by @hctrr on GitHub (Aug 18, 2022). ### Describe the Bug Including all the content from a page with {{@5}} works. The current bug is when attempting to include the content within the element of the ID. when entering the syntax: {{@202#bkmrk-copy-this-section}} the end result will be text that simply reads "copy this section" ### Steps to Reproduce Generate the Tag: ![image](https://user-images.githubusercontent.com/15852711/185484662-4f427f08-cc01-4bd4-a212-b8e9c633bd02.png) Update page with the tag syntax: ![image](https://user-images.githubusercontent.com/15852711/185484773-eb68664c-0738-4fc5-9d9f-78592845acae.png) Results: ![image](https://user-images.githubusercontent.com/15852711/185484820-8ede6a69-1de0-49a9-aeba-1a376f052e6b.png) ### Expected Behaviour The full section (header and body) of the within {{@202#bkmrk-copy-this-section}} to be mirrored on the new page. as mentioned - Including all the content from a page with {{@202}} works. its just when attempt to use sections. ### Screenshots or Additional Context _No response_ ### Browser Details Firefox 103.0.2 ### Exact BookStack Version v22.07.3; v22.06.2 ### PHP Version _No response_ ### Hosting Environment https://github.com/linuxserver/docker-bookstack
OVERLORD added the 🐛 Bug label 2026-02-05 05:55:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2969