diff --git a/src/node/utils/ExportHtml.js b/src/node/utils/ExportHtml.js index 2c5a2c213..665e3d7eb 100644 --- a/src/node/utils/ExportHtml.js +++ b/src/node/utils/ExportHtml.js @@ -498,6 +498,11 @@ exports.getPadHTMLDocument = async function (padId, revNum) let html = await getPadHTML(pad, revNum); + let exportHTMLAdditionalContent = await hooks.aCallAll("exportHTMLAdditionalContent", padId); + exportHTMLAdditionalContent.forEach(function(hookHtml){ + html += hookHtml; + }); + return eejs.require("ep_etherpad-lite/templates/export_html.html", { body: html, padId: Security.escapeHTML(padId),