Uploaded image for project: 'Wookie'
  1. Wookie
  2. WOOKIE-236

HTMLCleaner removes doctype from pages which causes IE 9 problems

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.1
    • Component/s: Server
    • Labels:
      None
    • Environment:
      Windows 7 sp1 x64, IE9

      Description

      The problem is with the HTMLCleaner class, with the following line found in the constructor.

      properties.setOmitDoctypeDeclaration(true);

      In IE 9 with the doctype included, the widget runs in "IE9 standards mode" and everything is okay.
      Without the doctype, the widget runs in "quirks mode". The widget fails and displays an error alert box because it now cannot load the Preferences JS object.
      (Again, note this is a IE specific problem).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psharples Paul Sharples
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: