forked from tangled.org/core
this repo has no description

appview: repo/index: urlencode refs

anirudh.fi d187bf2b b6f0dceb

verified
Changed files
+3 -3
appview
pages
templates
repo
+3 -3
appview/pages/templates/repo/index.html
··· 46 46 </optgroup> 47 47 </select> 48 48 <a 49 - href="/{{ .RepoInfo.FullName }}/commits/{{ .Ref }}" 49 + href="/{{ .RepoInfo.FullName }}/commits/{{ .Ref | urlquery }}" 50 50 class="ml-2 no-underline flex items-center gap-2 text-sm uppercase font-bold" 51 51 > 52 52 <i class="w-4 h-4" data-lucide="logs"></i> ··· 66 66 <div class="{{ $containerstyle }}"> 67 67 <div class="flex justify-between items-center"> 68 68 <a 69 - href="/{{ $.RepoInfo.FullName }}/tree/{{ $.Ref }}/{{ .Name }}" 69 + href="/{{ $.RepoInfo.FullName }}/tree/{{ $.Ref | urlquery }}/{{ .Name }}" 70 70 class="{{ $linkstyle }}" 71 71 > 72 72 <div class="flex items-center gap-2"> ··· 91 91 <div class="{{ $containerstyle }}"> 92 92 <div class="flex justify-between items-center"> 93 93 <a 94 - href="/{{ $.RepoInfo.FullName }}/blob/{{ $.Ref }}/{{ .Name }}" 94 + href="/{{ $.RepoInfo.FullName }}/blob/{{ $.Ref | urlquery }}/{{ .Name }}" 95 95 class="{{ $linkstyle }}" 96 96 > 97 97 <div class="flex items-center gap-2">