Skip to content

Commit 97bc5ae

Browse files
committed
updated test3
1 parent 8c3694c commit 97bc5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/helpers/helpers/html-to-plain-text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
module.exports = function convertHTML2PlainString(html) {
10-
let text = html.replace(/(<([^>]+)>)/g, " ");
10+
let text = html.replace(/(<([^>]+)>)/g, "");
1111
text = text.replace(/\s+/g,' ')
1212
return text
1313
}

0 commit comments

Comments
 (0)