mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 15:39:44 +01:00
fix: trim text extracted from html
This commit is contained in:
@@ -21,7 +21,7 @@ class Tiny {
|
||||
} else {
|
||||
return decode(
|
||||
this.data.replace(/<br[^>]*>/gi, "\n").replace(/<[^>]+>/g, "")
|
||||
);
|
||||
).trim();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user