This issue has been created
There is 1 update.
 
 
Confluence / cid:jira-generated-image-avatar-7bbb7532-1c7a-49b0-8910-17f46efad73d CONFLUENCE-425 Open

Extraneous lines are output before some block macros because of empty paragraph

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a92cd392-e5eb-4032-83b9-c56814a5dcc4 Raphaël Jakse created this issue on 07/Apr/25 10:19
 
Summary: Extraneous lines are output before some block macros because of empty paragraph
Issue Type: cid:jira-generated-image-avatar-7bbb7532-1c7a-49b0-8910-17f46efad73d Improvement
Affects Versions: 9.82.1
Assignee: Unassigned
Components: Syntax - XHTML
Created: 07/Apr/25 10:19
Priority: cid:jira-generated-image-static-major-9890475f-4d68-4bfc-a502-1e71825d8f20 Major
Reporter: Raphaël Jakse
Description:

Confluence puts some block macros inside their own paragraphs. It makes our generator listener sometimes output empty paragraph before those block macros.
We need to:

  • make sure supportsInlineMode is correctly set on all our macro converters
  • ignore the empty paragraph

This is not really a bug but more an improvement because the rendered result is correct, it's just that there are extra lines in the produced XWiki syntax.

 
 

1 update

 
cid:jira-generated-image-avatar-a92cd392-e5eb-4032-83b9-c56814a5dcc4 Changes by Raphaël Jakse on 07/Apr/25 10:19
 
Assignee: Raphaël Jakse