gitea/modules/markup
zeripath 172229966c
Prevent panic on fuzzer provided string ()
* Prevent panic on fuzzer provided string

The fuzzer has found that providing a <body> tag with an attribute to
PostProcess causes a panic. This PR removes any rendered html or body
tags from the output.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Placate lint

* placate lint again

Signed-off-by: Andrew Thornton <art27@cantab.net>

* minor cleanup

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
common Don't replace underscores in auto-generated IDs in goldmark ()
csv Detect delimiter in CSV rendering ()
external Re-attempt to delete temporary upload if the file is locked by another process ()
markdown Markdown task list improvements ()
mdstripper Detect full references to issues and pulls in commit messages ()
orgmode fix: media links in org files not liked to media files ()
html.go Prevent panic on fuzzer provided string ()
html_internal_test.go Issue/PR Context Popups ()
html_test.go Prevent panic on fuzzer provided string ()
markup.go Don't manually replace whitespace during render ()
markup_test.go Prioritize "readme.md" ()
sanitizer.go Markdown task list improvements ()
sanitizer_test.go Markdown task list improvements ()