mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
bugdown/init: Fix typing for fence variable.
This commit is contained in:
@@ -1486,7 +1486,7 @@ class BugdownUListPreprocessor(markdown.preprocessors.Preprocessor):
|
||||
def run(self, lines: List[str]) -> List[str]:
|
||||
""" Insert a newline between a paragraph and ulist if missing """
|
||||
inserts = 0
|
||||
fence = None
|
||||
fence = None # type: Optional[Match.group]
|
||||
copy = lines[:]
|
||||
for i in range(len(lines) - 1):
|
||||
# Ignore anything that is inside a fenced code block
|
||||
|
Reference in New Issue
Block a user