Why does View Word file macro screw up text formatting?

The View Word file macro is used on a Confluence page and all text that appears after the macro on the page is formatted differently than the text that appears before the macro (see image below). When we remove the macro, the text is displayed correctly. It's not a major issue, but it's frustrating to see it like this.

2 answers

1 accepted

As mentioned, this may be a solution that may work, but has not been fully tested. I reported my problem to Atlassian and received the answer that this is a bug. I don't remember the bug number though.

/Lars

My first guess would be that the macro contains an unclosed DIV or other style tag that then applies to the rest of the page. You should be able to view the source in a browser and examine the elements to see what doesn't get closed. A workaround, if you can't edit the macro's source, would be to close that tag manually with an HTML macro after the View Word macro, but before the rest of the page is displayed.

Thanks for a prompt answer. I've been through the source code several times but cannot find any div:s that might not get closed. I haven't tried the HTML macro you suggested, but eventhough it might solve the problem, it's not an option since it goes against company security policy to give any user the ability to use that macro. I'll report it since this works in version 3.4.9 of Confluence. Thanks anyway.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

374 views 20 10
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