Access Keys:
Skip to content (Access Key - 0)

Adaptavist Documentation Move

This documentation is deprecated. Adaptavist's documentation has moved to a new location where it is maintained and updated. Please visit Adaptavist's new Documentation area.

HTML Comment before DOCTYPE


This forum has now moved. These topics have been left as a read-only archive. Please create all new topics in the Community space.


We're trying to move from our own custom theme to one we're making via Theme Builder, but we're having some trouble maintaining support for Internet Explorer.

Theme Builder places an HTML comment before the DOCTYPE declaration – something that triggers quirks mode in IE, causing IE to ignore the DOCTYPE and incorrectly render our legacy content, much of which includes inline CSS. For IE to render pages in standards mode, there can't be anything but whitespace before the DOCTYPE declaration.

Is there any way to configure Theme Builder to not include this comment?

e.g. our dashboard starts with:

<!-- main.vmd
helper: com.atlassian.confluence.themes.GlobalHelper@5e19431c
action: com.atlassian.confluence.core.ConfluenceActionSupport@4c851387
action.helper: com.atlassian.confluence.themes.GlobalHelper@5e19431c
action.globalHelper: com.atlassian.confluence.themes.GlobalHelper@5e19431c
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html >



View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence