Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
13.4, 12.10.8
-
None
-
Windows 10 Pro 64 bit, IE11, using a local instance of XWiki 13.4 on MySQL 8, Tomcat 9.0.46
-
Unknown
-
Description
STEPS TO REPRODUCE
- Create a page (e.g. 'Pag1') with the following content:
= This is Heading 1 = This is the original page content.
- Create another page (e.g. 'Pag2')
- Insert Include Macro
- On Page parameter select 'Pag1'
- Tick the checkbox "Exclude First Heading"
- On Section parameter insert 'HThisisHeading1'
or paste in source/wiki mode:
{{include reference="Pag1.WebHome" excludeFirstHeading="true" section="HThisisHeading1"/}}
- Save the page
EXPECTED RESULTS
On 'Pag2', only the content from the section of 'Pag1' is displayed:
This is the original page content.
ACTUAL RESULTS
The first heading is not entirely excluded, apparently being transformed into content:
is Heading 1 This is the original page content.
Attachments
Issue Links
- is related to
-
XWIKI-18325 Exclude first heading parameter of the include macro does not work when including a section
- Closed