Another bug in resolve_ref
This commit is contained in:
parent
cd35f92607
commit
b6760a59fa
@ -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-'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user