mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-07 00:36:13 +02:00
fix title-body order for the last time
This commit is contained in:
parent
8f39b12198
commit
d2b4ae9951
1 changed files with 1 additions and 1 deletions
|
@ -266,5 +266,5 @@ def split_title(text):
|
||||||
if not sep:
|
if not sep:
|
||||||
sep = SENTENCE_SPLITTER.search(text)
|
sep = SENTENCE_SPLITTER.search(text)
|
||||||
if not sep:
|
if not sep:
|
||||||
return "", text
|
return text,""
|
||||||
return text[: sep.end()].strip(), text[sep.end() :].strip()
|
return text[: sep.end()].strip(), text[sep.end() :].strip()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue