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:
Create Parent Page A
Then create a child page and name it Child Page A, then add a Scroll Pagetitle macro
Add the text 'Test' then add a paragraph break (enter)
Save the page
Reedit Page A, remove the additional whitespace in the macro
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.
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: