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

Assignee

Unassigned

Reporter

Peter Bastian (K15t)

Labels

None

Participants

None

QA Status

None

Deployment

Cloud
Server

Documentation Status

None

UI Concept

None

External Votes

None

Components

Affects versions

Priority

Major
Configure