Fix markup render regression and fix some tests (#32640)

Fix #32639,
https://github.com/go-gitea/gitea/issues/32608#issuecomment-2497918210

By the way, fix some incorrect SQLs (use single quote but not double
quote)
This commit is contained in:
wxiaoguang 2024-11-26 03:04:55 +08:00 committed by GitHub
parent 5d57c287fb
commit 44909f6e2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 23 deletions

View file

@ -22,8 +22,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
_ "github.com/mattn/go-sqlite3"
)
type codeSearchResult struct {