This issue has been created
There are 3 updates.
 
 
Confluence / cid:jira-generated-image-avatar-205f668b-6f37-4614-bdc2-800928689a09 CONFLUENCE-454 Open

Add a way to keep unhandled or all Confluence macro parameters, prefixed

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a801f520-6b25-4566-82ae-be63f0f236f1 Raphaël Jakse created this issue on 14/May/25 10:20
 
Summary: Add an option to keep unhandled or all Confluence macro parameters, prefixed
Issue Type: cid:jira-generated-image-avatar-205f668b-6f37-4614-bdc2-800928689a09 Bug
Affects Versions: 9.83.1
Assignee: Unassigned
Components: XML
Created: 14/May/25 10:20
Priority: cid:jira-generated-image-static-major-4cc05df0-70d3-4639-82b1-ef8b94eb7054 Major
Reporter: Raphaël Jakse
Description:

There is a need to keep all the macro parameters so there's a chance that stuff that's currently buggy or unsupported can be fixed using post-processing.

We introduce two parameters:

  • Kept macro parameter prefix (default value: "confluence_"): when keeping original confluence parameters, use this prefix to name the kept parameters in the target macro
  • Kept macro parameter mode
    • NONE: the default, and the current behavior of dropping all the parameters, and letting macro converters produce their parameters
    • ALL: Keep all the original Confluence parameters, unless their prefixed version conflicts with a parameter that the macro converter defined
    • UNHANDLED, same, but only keep the parameters that have not been handled / used by the macro converter and that the macro converter hasn't explicitly marked as handled.
 
 

3 updates

 
cid:jira-generated-image-avatar-a801f520-6b25-4566-82ae-be63f0f236f1 Changes by Raphaël Jakse on 14/May/25 10:20
 
Summary: Add an option a way to keep unhandled or all Confluence macro parameters, prefixed
Description: There is a need to keep all the macro parameters so there's a chance that stuff that's currently buggy or unsupported can be fixed using post-processing.

We introduce two parameters:
- Kept macro parameter prefix (default value: "confluence_"): when keeping original confluence parameters, use this prefix to name the kept parameters in the
target converted macro
- Kept macro parameter mode
-- NONE: the default, and the current behavior of dropping all the parameters, and letting macro converters produce their parameters
-- ALL: Keep all the original Confluence parameters, unless their prefixed version conflicts with a parameter that the macro converter defined
-- UNHANDLED, same, but only keep the parameters that have not been handled / used by the macro converter and that the macro converter hasn't explicitly marked as handled.
Assignee: Raphaël Jakse