Issue #192 resolved

DOCTYPE in the middle of the html document

Thomas Waldmann
repo owner created an issue

somehow images, audio and video files trigger a superfluous DOCTYPE html element: {{{ ... <div id="moin-content-data"> <!DOCTYPE html> <img alt="png" class="moin-transclusion" data-href="/png" src="/+get/+f44d589e17dd4a4a8d79850bbf3943d5/png" xmlns="" /> </div> .... }}}

Comments (4)

  1. Thomas Waldmann reporter
    • changed status to open

    I think this issue was introduced when switching from html writing to polyglot writing.

    Inconsistency in EmeraldTree: XMLWriter and PolyglotWriter have serialize_start(), HTMLWriter has none.

    How should it be handled best?

  2. Log in to comment