fix: trim text extracted from html

This commit is contained in:
thecodrr
2021-03-06 10:07:58 +05:00
parent 358c046dc3
commit ba006ded29

View File

@@ -21,7 +21,7 @@ class Tiny {
} else {
return decode(
this.data.replace(/<br[^>]*>/gi, "\n").replace(/<[^>]+>/g, "")
);
).trim();
}
}