mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Minor fix to prefixes in ffml_processor.
This commit is contained in:
parent
bf488a43a8
commit
12c4a7b97f
@ -361,7 +361,7 @@ class FFMLProcessor:
|
||||
"""
|
||||
doc = self.tree_to_rst(self.parse_document(document, name), indent)
|
||||
if prefix is not None:
|
||||
doc = prefix + doc.lstrip(' ')
|
||||
doc = prefix + doc.lstrip(' ' * indent)
|
||||
return doc
|
||||
|
||||
# ============== Internal methods =================
|
||||
|
Loading…
x
Reference in New Issue
Block a user