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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

399 views 4 6
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