From fed32e4de93e9517f76241fd42d2cd4a84662974 Mon Sep 17 00:00:00 2001 From: felixvd Date: Thu, 12 Feb 2015 13:44:29 +0900 Subject: [PATCH] Reverting changes to getSentece() behavior New line is now again ignored when looking for the end of the sentence. Former-commit-id: a47014c3dfeb6cfb0d251dc448814bacdaec98db --- yomi_base/reader_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yomi_base/reader_util.py b/yomi_base/reader_util.py index 26ff3f2..014263f 100644 --- a/yomi_base/reader_util.py +++ b/yomi_base/reader_util.py @@ -70,7 +70,7 @@ def findSentence(content, position): if c in terminators: end = i + 1 break - elif (c in quotesBwd or c == '\n'): + elif c in quotesBwd: end = i break