Closed
Description
Description
When trying to search for code on any section of the site (explore, org, repo) the following error occurs:
An error occurred:
Render failed, failed to render template: repo/search, error: template error: builtin(bindata):repo/search:56:87 : executing "repo/search" at <Safe>: wrong type for value; expected string; got template.HTML
----------------------------------------------------------------------
<td class="lines-code chroma"><code class="code-inner">{{.FormattedLines | Safe}}</code></td>
^
----------------------------------------------------------------------
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Rootful docker image
Database
SQLite