TOC macro exclude and include parameters are not working

Description

steps to reproduce:

  1. create a page with a few headings, some of them with ":" and some without

  2. place a TOC macro on the page and set include to "[:]"

  3. place another TOC macro on the page and set exclude to "[:]"

  4. export the page
    expected:
    The first TOC macro displays only headings with ":" in it
    The second TOC macro displays only headings with no ":" in it
    actual:
    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.

Environment

None

Activity

Show:
Nils Bier (K15t)
August 8, 2018, 8:20 AM

Hi everyone,

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.

Best,
Nils

Nadine Walter
September 29, 2016, 7:19 AM

associated with:
https://jira.atlassian.com/browse/CONF-43663
Preview from 'Table of Contents' with Include or Exclude Headings not work

Assignee

Unassigned

Reporter

Peter Bastian (K15t)

Deployment

Cloud
Server