feat: update gitea vendor
runner nix smoke / nix label and flake smoke (push) Failing after 1m28s

This commit is contained in:
2026-09-26 21:18:24 +00:00
parent c439c1b948
commit d9b2a4e787
3538 changed files with 116131 additions and 44340 deletions
@@ -7,8 +7,8 @@ import (
"strings"
"unicode"
"code.gitea.io/gitea/modules/emoji"
"code.gitea.io/gitea/modules/setting"
"gitea.dev/modules/emoji"
"gitea.dev/modules/setting"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
@@ -69,6 +69,11 @@ func emojiShortCodeProcessor(ctx *RenderContext, node *html.Node) {
m[1] += start
start = m[1]
// don't render a shortcode whose ":" directly follows a backtick (an unclosed code span)
if m[0] > 0 && node.Data[m[0]-1] == '`' {
continue
}
alias := node.Data[m[0]:m[1]]
var nextChar byte