Reverting changes to getSentece() behavior
New line is now again ignored when looking for the end of the sentence. Former-commit-id: a47014c3dfeb6cfb0d251dc448814bacdaec98db
This commit is contained in:
parent
5226adca67
commit
fed32e4de9
@ -70,7 +70,7 @@ def findSentence(content, position):
|
|||||||
if c in terminators:
|
if c in terminators:
|
||||||
end = i + 1
|
end = i + 1
|
||||||
break
|
break
|
||||||
elif (c in quotesBwd or c == '\n'):
|
elif c in quotesBwd:
|
||||||
end = i
|
end = i
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user