Skip to content

Commit

Permalink
Escape \n
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Feb 4, 2018
1 parent cd15a42 commit 7027738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylatex/section.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def dumps(self):

string = Command(self.latex_name + num, self.title).dumps()
if self.label is not None:
string += '\n' + self.label.dumps()
string += '%\n' + self.label.dumps()
string += '%\n' + self.dumps_content()

return string
Expand Down

0 comments on commit 7027738

Please sign in to comment.