Additional whitespace in Scroll Pagetitle macro causes extra blank page heading in export

Description

When defining a Scroll Pagetitle macro with an empty paragraph line and saving the page, the generated export will contain an empty blank page heading in the generated Word export.

 

Steps to reproduce:

  1. Create Parent Page A

  2. Then create a child page and name it Child Page A, then add a Scroll Pagetitle macro

  3. Add the text 'Test' then add a paragraph break (enter)

  4. Save the page

  5. Reedit Page A, remove the additional whitespace in the macro

  6. Save the page and export with the Documentation Layout template

 

Expected result: The title Test is applied to the page title in the export

Actual result:  The title Test is applied to the page title in the export but an additional blank page is added without a heading. This is also displayed in the generated Table of Contents.

 

Workaround (either):

  • Delete the Scroll Pagetitle macro from the page and readd the macro again without adding any additional line breaks before saving the page

  • Edit the storage format (can use the free Source Editor app) and remove the line break, from:

to

Environment

None

Status

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

None

Participants

None

Deployment

Server

Components

Priority

Major
Configure