mirror of
https://github.com/Oreolek/gamebookformat.git
synced 2024-06-26 03:41:04 +03:00
Whitespace and don't escape curly brackets for TeX
This commit is contained in:
parent
338e3c8c1c
commit
efc66ff0b0
|
@ -127,7 +127,7 @@ def parse_file_to_book(inputfile, output_format_tag, book):
|
|||
config = line.split('=')
|
||||
book.configure(config[0].strip(), config[1].strip())
|
||||
elif name:
|
||||
text = text + " " + line.strip()
|
||||
text = text + "\n" + line.strip()
|
||||
elif len(line.strip()):
|
||||
raise Exception("unknown content before sections: %s"
|
||||
% line.strip())
|
||||
|
|
Loading…
Reference in a new issue