mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Fix external render (#35727)
Fix #35725 --------- Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -259,7 +259,9 @@ func newMarkupRenderer(name string, sec ConfigSection) { | ||||
| 		FileExtensions:    exts, | ||||
| 		Command:           command, | ||||
| 		IsInputFile:       sec.Key("IS_INPUT_FILE").MustBool(false), | ||||
| 		NeedPostProcess:   sec.Key("NEED_POSTPROCESS").MustBool(true), | ||||
| 		RenderContentMode: renderContentMode, | ||||
|  | ||||
| 		// if no sanitizer is needed, no post process is needed | ||||
| 		NeedPostProcess: sec.Key("NEED_POST_PROCESS").MustBool(renderContentMode == RenderContentModeSanitized), | ||||
| 	}) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user