diff --git a/src/node/utils/ExportHtml.js b/src/node/utils/ExportHtml.js
index d7946dc91..3a2dc88c0 100644
--- a/src/node/utils/ExportHtml.js
+++ b/src/node/utils/ExportHtml.js
@@ -498,7 +498,7 @@ exports.getPadHTMLDocument = async function (padId, revNum)
let html = await getPadHTML(pad, revNum);
- for (const hookHtml of await hooks.aCallAll("exportHTMLAdditionalContent", {padId}) {
+ for (const hookHtml of await hooks.aCallAll("exportHTMLAdditionalContent", {padId})) {
html += hookHtml;
}