aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'util.py')
-rw-r--r--util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.py b/util.py
index 8160a70..1c99478 100644
--- a/util.py
+++ b/util.py
@@ -178,6 +178,7 @@ def plural(n, words):
# split text to sentences
def split_sen(s, smart=True):
s = s.strip()
+ s = s.replace('\n', ' ')
lines = []
endings = ('. ', '? ', '! ', '+')