Previewing "Table of Content" from a docx attachment, with Office Word Macro will display a broken table list, without page numbers.
Steps to Reproduce
- Import a sample attachment with a table of content: Table of Contents example.docx
- Save page
- In the preview of the attachment TOC is displayed correctly
- Edit the page and create Office Word Macro from the same attachment.
- Save and preview the page
TOC is displayed correctly for the page
TOC is displayed with broken styling and without the actual page numbers.
The issue seems to be not present in Confluence 7.4 or 7.7 style vise, but numbers are still missing.
var element=$( ".converter-macro-content a[href*='#_Toc']" );
element.children().css( "width", "auto" );