adding a linebreak after a preformatted block

This commit is contained in:
Ploum 2024-02-06 15:10:31 +01:00
parent 8be531e5e2
commit 95b5c96534
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ class AbstractRenderer():
self.last_line += self.current_indent + l self.last_line += self.current_indent + l
self.close_theme(theme) self.close_theme(theme)
self._endline() self._endline()
self.last_line += "\n"
#one thing is sure : we need to keep unthemed blocks for images! #one thing is sure : we need to keep unthemed blocks for images!
else: else:
self.final_text += self.current_indent + intext self.final_text += self.current_indent + intext