Add a simple test for external renderer (#20033)

Fix #16402
This commit is contained in:
Lunny Xiao authored and GitHub committed 2022-12-12 20:45:21 +08:00
1 parent 6398ca745a
commit 36a2d2f919
24 files changed
+178 -9

No files matched your search

+7
View File
@@ -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