diff --git a/src/pptxtojson.js b/src/pptxtojson.js index 508e2bbb..931a1bfc 100644 --- a/src/pptxtojson.js +++ b/src/pptxtojson.js @@ -307,7 +307,7 @@ function getNote(noteContent) { if (rNodes.constructor !== Array) rNodes = [rNodes] for (const rNode of rNodes) { const t = getTextByPathList(rNode, ['a:t']) - if (t) text += t + if (t && typeof t === "string") text += t } } return text