1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00
This commit is contained in:
Bastian Venthur
2021-02-13 13:31:51 +01:00
parent d4f57d49ab
commit e972d90704

View File

@@ -85,9 +85,9 @@ class MarkdownLinkTreeprocessor(Treeprocessor):
def convert(self, url):
scheme, netloc, path, query, fragment = urlsplit(url)
logger.debug(
f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
)
# logger.debug(
# f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
# )
if (scheme or netloc or not path):
return url
if path.endswith('.md'):