0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-18 13:37:23 +02:00

feat: add data-lexer-name attribute to file-info-entry

This commit is contained in:
Jay Wang 2026-05-19 23:15:47 -07:00
parent 304f8a551a
commit ecb6b356a2

View File

@ -21,7 +21,7 @@
</div>
{{end}}
{{if .LexerName}}
<div class="file-info-entry">
<div class="file-info-entry" data-lexer-name="{{.LexerName}}">
{{.LexerName}}
</div>
{{end}}