Inline comment in a heading generates a space before and after it when exported

Description

Steps to reproduce:

  1. Create a page with a heading 1 (text: "Heading")

  2. Select a couple of letter in the middle (for example, "ead"), hover over them

  3. Add inline Confluence comment

  4. Export the page with default template

Expected result:
Heading should not have any spaces within the word

Actual result:
Heading is exported as "H ead ing"

Workaround:
Remove the text with inline comment (even resolved one), re-type it again, save the page.

Environment

Confluence 5.9.7

Assignee

Unassigned

Reporter

Roman Serazhiev

Labels

None

Participants

None

QA Status

None

Deployment

Cloud
Server

Documentation Status

None

UI Concept

None

External Votes

None

Fix versions

Affects versions

Priority

Major
Configure