Fix newlines not being considered sentence separators in account note (#16079)

Also bullets
This commit is contained in:
Eugen Rochko authored and GitHub committed 2021-04-20 02:34:08 +02:00
1 parent 18a2589ad3
commit b5ac17c4b6
1 file changed
+1 -1
@@ -27,7 +27,7 @@ const makeMapStateToProps = () => {
};
const getFirstSentence = str => {
const arr = str.split(/(([\.\?!]+\s)|[.。?!])/);
const arr = str.split(/(([\.\?!]+\s)|[.。?!\n•])/);
return arr[0];
};