-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.17.1
-
Component/s: Space - Export / Import
-
None
-
1
-
Severity 3 - Minor
Issue Summary
The HTML site export feature produces an uncompiled LESS stylesheet in the output. This prevents the output pages from receiving portions of styling. It is believed that this issue affects PDF exports as well.
This is reproducible on Data Center: Yes
Steps to Reproduce
- Export a space as HTML
- View an exported page in the browser.
Expected Results
Confluence produces an HTML export containing compiled native CSS, which allows the browser to apply standard Confluence styling to the exported content.
Actual Results
Confluence produces an HTML export containing uncompiled LESS, which the browser is not able to parse. The exported content appears partially unstyled when viewed in the browser.
The excerpt below is from the /styles/site.css file generated in the export:
@import "colors.less"; /* wiki-content.css */ /** * AUI Overrides * see /includes/css/aui-overrides.css */ .rounded-corners (@radius: 5px) { -moz-border-radius: @radius; -webkit-border-radius: @radius; border-radius: @radius; } .wiki-content { .header, .footer, .cell { margin: 8px 0; box-sizing: border-box; word-wrap: break-word; .rounded-corners; } ... }
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.