|
|
@@ -71,9 +71,9 @@ def split_text(text, length):
|
|
|
|
|
|
texts = [text]
|
|
|
texts = map(protect_float, texts)
|
|
|
- texts = break_text(texts, length, {".", "!", "?"})
|
|
|
+ texts = break_text(texts, length, {".", "!", "?", "。", "!", "?"})
|
|
|
texts = map(unprotect_float, texts)
|
|
|
- texts = break_text(texts, length, {","})
|
|
|
+ texts = break_text(texts, length, {",", ","})
|
|
|
texts = break_text(texts, length, {" "})
|
|
|
texts = list(break_text_by_length(texts, length))
|
|
|
|