mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:13:47 +02:00
...
This commit is contained in:
parent
2d4fc57ddc
commit
0916a9dc34
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ def split_txt(txt, epub_split_size_kb=0):
|
|||
return txt
|
||||
|
||||
def convert_basic(txt, title='', epub_split_size_kb=0):
|
||||
'''
|
||||
Requires paragraphs to be in single line format.
|
||||
'''
|
||||
txt = clean_txt(txt)
|
||||
txt = split_txt(txt, epub_split_size_kb)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue