Skip to content

Commit 8d30b27

Browse files
committed
manager: fix rewriting of mailto: links in docs
1 parent 8edea6d commit 8d30b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/director/apps/docs/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def rewrite_markdown_link(
105105
base_page_name = base_page_name.strip("/")
106106

107107
# If it's not an external link, rewrite it
108-
if not parts.netloc and parts.path:
108+
if parts.scheme != "mailto" and not parts.netloc and parts.path:
109109
# Extract the path for rewriting
110110
path = parts.path
111111

0 commit comments

Comments
 (0)