From: 
Subject: Debian changes

The Debian packaging of node-postcss-inline-svg is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/node-postcss-inline-svg
    % cd node-postcss-inline-svg
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone node-postcss-inline-svg`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/lib/render.js b/lib/render.js
index c7ac4fb..8dd9811 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -1,8 +1,8 @@
-const { parseDOM } = require("htmlparser2");
+const { parseDocument } = require("htmlparser2");
 const serialize = require("dom-serializer").default;
 
 module.exports = function render(code, ...processors) {
-  const dom = parseDOM(code, { xmlMode: true });
+  const dom = parseDocument(code, { xmlMode: true }).children;
 
   processors.forEach((processor) => processor(dom));
 
