aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sqlite.ini.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-12-12 20:45:21 +0800
committerGitHub <noreply@github.com>2022-12-12 20:45:21 +0800
commit36a2d2f919ee445f0374c210309b336e7c3c1f8e (patch)
tree05163a55f16f3e62ab9e3757e5ada977e1fdd6da /tests/sqlite.ini.tmpl
parent6398ca745aabdc40f10465e71da99c5a3866990e (diff)
downloadgitea-36a2d2f919ee445f0374c210309b336e7c3c1f8e.tar.gz
gitea-36a2d2f919ee445f0374c210309b336e7c3c1f8e.zip
Add a simple test for external renderer (#20033)
Fix #16402
Diffstat (limited to 'tests/sqlite.ini.tmpl')
-rw-r--r--tests/sqlite.ini.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sqlite.ini.tmpl b/tests/sqlite.ini.tmpl
index f5e8895e06..f6f8c70ed9 100644
--- a/tests/sqlite.ini.tmpl
+++ b/tests/sqlite.ini.tmpl
@@ -107,3 +107,10 @@ PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/lfs
[packages]
ENABLED = true
+
+[markup.html]
+ENABLED = true
+FILE_EXTENSIONS = .html
+RENDER_COMMAND = `go run tools/external_renderer.go`
+IS_INPUT_FILE = false
+RENDER_CONTENT_MODE=sanitized