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

0 votes
Accepted answer

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.


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
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

196 views 5 7
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