Remove unnecessary "Str2html" modifier from templates (#29319)

Follow #29165
This commit is contained in:
wxiaoguang 2024-02-23 02:05:47 +08:00 committed by GitHub
parent 5ed17d9895
commit c9d0e63c20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 121 additions and 120 deletions

View file

@ -7,7 +7,7 @@
</div>
{{else if .SearchResults}}
<h3>
{{ctx.Locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
{{ctx.Locale.Tr "explore.code_search_results" (.Keyword|Escape)}}
</h3>
{{template "code/searchresults" .}}
{{else if .Keyword}}