mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-01 10:39:34 +12:00
Fix double line-break in mmd files
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
5c61575c50
commit
172a5b6b1c
|
@ -48,6 +48,9 @@ class MmdFile(AbstractFile):
|
|||
if not ignoreBody:
|
||||
body = file.read()
|
||||
|
||||
if (len(body) > 0) and (body[0] == "\n"):
|
||||
body = body[1:]
|
||||
|
||||
return metadata, body
|
||||
|
||||
def load(self):
|
||||
|
|
Loading…
Reference in a new issue