montagejs/montage — pull request #1503 by thibaultzanini (2014-11-02 21:59:10+00:00)
Title: Provide a method that clone a DOMDocument in order to provide a temporary fix for the function createHtmlDocumentWithHtml.

Indeed, innerHTML does not allow us to have a document with some invalid HTML code,
that could belong to an iteration's template for example.
Such as:

-->

Plus, it's a little bit faster.

No problems noticed.