We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87122ef commit 209a853Copy full SHA for 209a853
vulnerabilities/helpers.py
@@ -127,9 +127,9 @@ def split_markdown_front_matter(text: str) -> Tuple[str, str]:
127
front_matter = ""
128
body = text
129
text = text.replace("\r\n", "\n")
130
- linezero,_, text = text.partition("---\n")
+ linezero, _, text = text.partition("---\n")
131
132
- if not linezero: # nothing before first ---
133
- front_matter,_, body = text.partition("---")
+ if not linezero: # nothing before first ---
+ front_matter, _, body = text.partition("---")
134
135
return front_matter, body
0 commit comments