mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 20:52:43 +00:00
.
This commit is contained in:
@@ -85,9 +85,9 @@ class MarkdownLinkTreeprocessor(Treeprocessor):
|
|||||||
|
|
||||||
def convert(self, url):
|
def convert(self, url):
|
||||||
scheme, netloc, path, query, fragment = urlsplit(url)
|
scheme, netloc, path, query, fragment = urlsplit(url)
|
||||||
logger.debug(
|
# logger.debug(
|
||||||
f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
|
# f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
|
||||||
)
|
# )
|
||||||
if (scheme or netloc or not path):
|
if (scheme or netloc or not path):
|
||||||
return url
|
return url
|
||||||
if path.endswith('.md'):
|
if path.endswith('.md'):
|
||||||
|
|||||||
Reference in New Issue
Block a user