Explorar el Código

Display tag icon as text

See https://stackoverflow.com/questions/32915485/how-to-prevent-unicode-characters-from-rendering-as-emoji-in-html-from-javascrip
Lucas Stadler %!s(int64=8) %!d(string=hace) años
padre
commit
d393faa599
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      quit.go

+ 1 - 1
quit.go

@ -293,7 +293,7 @@ var repoTmpl = template.Must(template.New("").Parse(`<!doctype html>
293 293
		<section id="repo" class="repo-info">
294 294
			<a id="commits" class="repo-stat" href="#"><span class="icon">⏲</span><span class="count">{{ .Repo.CommitCount }}</span> commits</a>
295 295
			<a id="branches" class="repo-stat" href="#"><span class="icon">⛗</span><span class="count">{{ len .Repo.Branches }}</span> branches</a>
296
			<a id="tags" class="repo-stat" href="#"><span class="icon">🔖</span><span class="count">{{ len .Repo.Tags }}</span> tags</a>
296
			<a id="tags" class="repo-stat" href="#"><span class="icon">🏷&#xFE0E;</span><span class="count">{{ len .Repo.Tags }}</span> tags</a>
297 297
			<a id="contributors" class="repo-stat" href="#"><span class="icon">👥</span><span class="count">{{ len .Repo.Contributors }}</span> contributors</a>
298 298
		</section>
299 299