Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1845

[PATCH] Add omit-xml-declaration parameter to XHTMLSerializer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.10, 2.2
    • None
    • Blocks: Serializers
    • None
    • Patch available

    Description

      As all the AbstractTextSerializer based serializers, also the XHTMLSerializer should handle the omit-xml-declaration to do not put the XML declaration as first line of the serialized document.

      This prevent many rendering problems in Internet Explorer.

      Default behaviour is to send the xml declaration as before.

      Tested on 2.1.10-dev, but patch should work on 2.2.0 as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mauriziop Maurizio Pillitu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: