TOC macro exclude and include parameters are not working
steps to reproduce:
create a page with a few headings, some of them with ":" and some without
place a TOC macro on the page and set include to "[:]"
place another TOC macro on the page and set exclude to "[:]"
export the page
The first TOC macro displays only headings with ":" in it
The second TOC macro displays only headings with no ":" in it
The first TOC macro displays no headings at all
The second TOC macro displays all headings
Attached is an example page and the corresponding PDF export. This behaviour occurs for both Cloud and Server versions of the app.
After further investigating this issue, we found out that this is blocked by an issue in Confluence.
The Atlassian support team has acknowledged the issue and created the following ticket in their system - CONFSERVER-56246
Please vote and watch this issue accordingly. As soon as this gets fixed, we can improve the behavior on our end.