This issue has been created
There are 2 updates.
 
 
Confluence / cid:jira-generated-image-avatar-53c1c828-5164-40fa-8570-2d1bf3157d5f CONFLUENCE-478 Open

Address info-like macros with a width parameter

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b9c09880-7981-4967-8151-94cba1a9bc4f Raphaël Jakse created this issue on 27/May/25 13:20
 
Summary: Address info-like macros with width parameter
Issue Type: cid:jira-generated-image-avatar-53c1c828-5164-40fa-8570-2d1bf3157d5f Bug
Affects Versions: 9.86.1
Assignee: Unassigned
Components: XML
Created: 27/May/25 13:20
Priority: cid:jira-generated-image-static-major-bed29c33-3e04-47cd-858c-e855ca8a08ea Major
Reporter: Raphaël Jakse
Description:

We've seen info macros with a width parameter. This width parameter is not used by Confluence at render time from what we have seen: it doesn't seem to have any effect. We don't know why it's there.

The issue is that these macros are currently transferred as-is (we don't have any macro converter for them), and XWiki's info macro does support a width parameter.

We should probably:

  1. Make sure the width parameter is indeed unused. Knowing how it can end up there would be a plus.
  2. Add macro converters that just pass the title and the content. The width parameter will be marked as unhandled and not transferred.
 
 

2 updates

 
cid:jira-generated-image-avatar-b9c09880-7981-4967-8151-94cba1a9bc4f Changes by Raphaël Jakse on 27/May/25 13:21
 
Summary: Address info-like macros with a width parameter
Description: We've seen info macros with a width parameter. This width parameter is not used by Confluence at render time from what we have seen: it doesn't seem to have any effect. We don't know why it's there.

The issue is that these macros are currently transferred as-is (we don't have any macro converter for them), and XWiki's info macro does support a width parameter.
This leads to a situation where the info macro takes all the space in Confluence and is smaller in XWiki.

We should probably:
# Make sure the width parameter is indeed unused. Knowing how it can end up there would be a plus.
# Add macro converters that just pass the title and the content. The width parameter will be marked as unhandled and not transferred.