forked from forgejo/forgejo
Not working, but slightly better...
This commit is contained in:
parent
d943429672
commit
1ab8a60d73
4 changed files with 16 additions and 11 deletions
|
@ -340,7 +340,7 @@ OUTER_LOOP:
|
|||
func RenderMarkdown(rawBytes []byte, urlPrefix string, metas map[string]string) []byte {
|
||||
result := RenderRawMarkdown(rawBytes, urlPrefix)
|
||||
result = PostProcessMarkdown(result, urlPrefix, metas)
|
||||
result = BuildSanitizer().SanitizeBytes(result)
|
||||
result = Sanitizer.SanitizeBytes(result)
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue