-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Severity 3 - Minor
-
Issue Summary
The TOC macro offers the ability to exclude headings from the report. According to the macro's documentation:
Filter headings to exclude according to specific criteria. You can use wildcard characters.
If the headings you want to exclude are Overview and Summary, enter Overview|Summary in this field.
However, this filter is not working properly - It's not looking only for exact matches. For example, using Test to exclude this heading, would also exclude any other Heading on the page that has the word Test on it, for example "Test results".
Although the macro preview works properly (it excludes only exact matches) while editing the page, once you publish it, note that the TOC is excluding more Headings that it was expected.
Steps to Reproduce
- Create a page on Confluence, and add these Headings (Test, Some Tests, Test Results, test)
- Add the TOC macro to the page.
- On the Exclude Headings field, fill Test.
- Save the macro.
- Publish the page.
Expected Results
The macro should only exclude Test heading from the report, as shown on its preview:

Actual Results
After publishing the page, note that the TOC is also excluding Tests and Some Tests:

Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Notes
Note that the field is case sensitive, so the test heading was kept.
- mentioned in
-
Page Loading...