Skip to end of metadata
Go to start of metadata

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 >

  • No labels

2 Comments

  1. This has been resolved in 3.3.5-M4 which will be released later this week.

  2. Unknown User (jander@mit.edu)

    That's great to hear. Guess I should be checking your bug tracker before posting here. (smile)