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

HTMLCleaner removes doctype from pages which causes IE 9 problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.1
    • Server
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: