diff --git a/js/mzta-utils.js b/js/mzta-utils.js index a5870971..effa0f75 100644 --- a/js/mzta-utils.js +++ b/js/mzta-utils.js @@ -198,7 +198,7 @@ export function stripHtmlKeepLines(htmlString) { .replace(/<[^>]*>/g, '') // removes any other HTML tags .trim(); // removes leading/trailing whitespace } -function htmlBodyToPlainText(htmlString) { +export function htmlBodyToPlainText(htmlString) { // Create a new DOMParser instance const parser = new DOMParser(); // Parse the HTML string