From b6760a59fa3845bc60392bfc9edd3d402f698605 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Aug 2022 11:45:48 +0530 Subject: [PATCH] Another bug in resolve_ref --- kitty/conf/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/conf/types.py b/kitty/conf/types.py index bb11185ef..0c870cadb 100644 --- a/kitty/conf/types.py +++ b/kitty/conf/types.py @@ -56,7 +56,7 @@ def resolve_ref(ref: str, website_url: Callable[[str], str] = website_url) -> st m = ref_map() href = m['ref'].get(ref, '') if href: - return href + return website_url(href) if ref.startswith('conf-kitty-'): href = f'{website_url("conf")}#{ref}' elif ref.startswith('conf-kitten-'):