Loading generateBaseline/pandocFilter.py +1 −1 Changes for generateBaseline/pandocFilter.py: 1 added line, 1 removed line. Original line number Original line Diff line number Diff line Loading @@ -501,7 +501,7 @@ def replaceBulletedLettersLists(progress:Progress, mdLines:list[str]) -> list[st # progress.update() # progress.update() # Match "- " only when followed by a letter and ")" (e.g. "- a) text"). # Match "- " only when followed by a letter and ")" (e.g. "- a) text"). bulletedLettersListRegex = re.compile(r'^([ \t]*)- (?=[A-Za-z]+\))') bulletedLettersListRegex = re.compile(r'^([ \t]*)- (?=[A-Za-z]+[).-]?)') _lines:list[str] = [] _lines:list[str] = [] for line in mdLines: for line in mdLines: # If we are in a code block, we are not in a list # If we are in a code block, we are not in a list Loading Loading
generateBaseline/pandocFilter.py +1 −1 Changes for generateBaseline/pandocFilter.py: 1 added line, 1 removed line. Original line number Original line Diff line number Diff line Loading @@ -501,7 +501,7 @@ def replaceBulletedLettersLists(progress:Progress, mdLines:list[str]) -> list[st # progress.update() # progress.update() # Match "- " only when followed by a letter and ")" (e.g. "- a) text"). # Match "- " only when followed by a letter and ")" (e.g. "- a) text"). bulletedLettersListRegex = re.compile(r'^([ \t]*)- (?=[A-Za-z]+\))') bulletedLettersListRegex = re.compile(r'^([ \t]*)- (?=[A-Za-z]+[).-]?)') _lines:list[str] = [] _lines:list[str] = [] for line in mdLines: for line in mdLines: # If we are in a code block, we are not in a list # If we are in a code block, we are not in a list Loading