From c24097245bbc520f9453f3319a271231a85d464c Mon Sep 17 00:00:00 2001 From: Kilian Singer Date: Wed, 20 Aug 2025 18:21:04 +0200 Subject: [PATCH] added export keyword --- js/mzta-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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