added export keyword
This commit is contained in:
parent
a96702b0a8
commit
c24097245b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue