Minor fix to prefixes in ffml_processor.

This commit is contained in:
Charles Haley 2024-11-11 12:29:54 +00:00
parent bf488a43a8
commit 12c4a7b97f

View File

@ -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 =================