This is reproducible on Data Center: (yes)
If a macro parameter has HTML like <br/> or <hr/>, then the parameter is not saved in the Storage XML on page save. This happens with STATUS macro as well as user created macros.
For this to work, the macro needs to have a String parameter
When viewing the macro before the page update we see in the HTML <table/> that displays the grey macro box the attribute is
When saving the storage format clearly has <ac:parameter ac:name="html"></ac:parameter> missing
And on second edit the display <table/> is also missing the data-macro-parameters.
However, it works with
but anywhere in the HTML it has the <br/> or similar, it breaks.
This is also an issue on site upgrades where macros in earlier versions of Confluence, on upgrade will have the parameters removed on page edit.
- Create a status macro
- For the Title enter text<br/> and click INSERT
- Update the page
The macro displays as expected.
All data entered into the parameter fields is missing.
Currently there is no known workaround for this behavior. A workaround will be added here when available