added export keyword

This commit is contained in:
Kilian Singer 2025-08-20 18:21:04 +02:00
parent a96702b0a8
commit c24097245b

View file

@ -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