Skip to content

Commit

Permalink
Trying to remove the warning saying that '\.md' is an invalid escape …
Browse files Browse the repository at this point in the history
…sequence
  • Loading branch information
Skptak committed Nov 8, 2023
1 parent c48d7f8 commit 32c8041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion link-verifier/verify-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def parse_file(html_file):
return HtmlFile(html_file)

def html_name_from_markdown(filename):
md_pattern = re.compile('\.md', re.IGNORECASE)
md_pattern = re.compile("\.md$", re.IGNORECASE)
return md_pattern.sub('.html', filename)

def create_html(markdown_file):
Expand Down

0 comments on commit 32c8041

Please sign in to comment.