From 1cf68bad4458042806ed1389c0273308dfdcd407 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 15 Nov 2019 21:58:19 -0700 Subject: [PATCH] update --- story/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/story/utils.py b/story/utils.py index fb5cb96..2c7bf52 100644 --- a/story/utils.py +++ b/story/utils.py @@ -84,7 +84,7 @@ def cut_trailing_sentence(text): act_token = text.find(">") if act_token != -1: - last_punc = min(last_punc, act_token+1) + last_punc = min(last_punc, act_token-1) if last_punc > 0: text = text[0:last_punc+1]