HTML generated for section macro suddenly changed

A few days ago, we started seeing formatting differences in a number of places in the wiki. I tracked them down, and most involve the section macro. We have a staging server with the same content and software version, and that one does not show the change, so I've been able to compage the generated HTML.

Before, the section macro generated tables. Now, the section macro generated divs that use the display attribute to make them behave similar to tables. This ends up rendering the page differently in certain circumstances, causing problems for many of our users.

My question is: did Atlassian push out some kind of change in the section macro recently that caused this? I haven't been able to determine if someone had installed a plugin update (it isn't clear to me which plugin contains the section macro), and that contained the change, or if this happened some other way.

1 answer

1 accepted

0 votes
Accepted answer

Found the reason -- someone had updated the Layout Macros in our installation. The information in the plugin manager says that the update switches from using tables to using divs.

The problem for us happens because people put text inside the section macro before the first column. That is not a logical thing to do, but before it produced a result people wanted -- the paragraph just appeared above the columns. With the new implementation, the initial paragraph ends up being another column, even though you didn't use a column macro. FWIW, I'd say this is the correct behavior. The prolem comes because LOTS of people got away with doing the wrong thing before, not knowing it was wrong since it looked fine.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,051 views 16 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you