This issue has been created
There are 2 updates.
 
 
Confluence / cid:jira-generated-image-avatar-a2fce16f-5123-4a62-8a92-d41eb6b07996 CONFLUENCE-521 Open

Content with inline comments mixed with formatting sometimes fails to parse

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-790f21ba-e6f9-4835-9b6d-fb385b176d12 Raphaël Jakse created this issue on 13/May/26 09:13
 
Summary: Some content with inline comments mixed with formatting fail to parse
Issue Type: cid:jira-generated-image-avatar-a2fce16f-5123-4a62-8a92-d41eb6b07996 Bug
Affects Versions: 9.93.0
Assignee: Unassigned
Components: XML
Created: 13/May/26 09:13
Labels: regression
Priority: cid:jira-generated-image-static-major-f22e6c88-6d5b-4a39-a95f-c41da1ddfffe Major
Reporter: Raphaël Jakse
Description:

This is caused by "end format" events being sent to the inline annotation reader without matching begin format, which can happen because we are catching events at the middle of a line and while in XML everything should be properly nested, wikimodel can decide to call endFormat() when it sees fit.

Since we are only concerned with getting the plain text while parsing an inline annotation, begin/end format events can simply be ignored.

This is a regression introduced with CONFLUENCE-512.

 
 

2 updates

 
cid:jira-generated-image-avatar-790f21ba-e6f9-4835-9b6d-fb385b176d12 Changes by Raphaël Jakse on 13/May/26 09:13
 
Summary: Some content Content with inline comments mixed with formatting fail sometimes fails to parse
Assignee: Raphaël Jakse