refactor: Rename remaining bugdown word to markdown in .py files.

This commit is part of series of commits aimed at renaming bugdown to
markdown.
This commit is contained in:
Mohit Gupta
2020-06-28 20:10:18 +05:30
committed by Tim Abbott
parent a0e9580ee9
commit 08e74558a9
3 changed files with 4 additions and 4 deletions

View File

@@ -355,7 +355,7 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor):
self.handlers[-1].done()
# This fiddly handling of new lines at the end of our output was done to make
# existing tests pass. Bugdown is just kind of funny when it comes to new lines,
# existing tests pass. Markdown is just kind of funny when it comes to new lines,
# but we could probably remove this hack.
if len(output) > 2 and output[-2] != '':
output.append('')