mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 13:49:13 -05:00
ff4662be92
- On a empty blockquote the callout feature would panic, as it expects
to always have at least one child.
- This panic cannot result in a DoS, because any panic that happens
while rendering any markdown input will be recovered gracefully.
- Adds a simple condition to avoid this panic.
(cherry picked from commit
|
||
---|---|---|
.. | ||
callout | ||
math | ||
ast.go | ||
color_util.go | ||
color_util_test.go | ||
convertyaml.go | ||
goldmark.go | ||
markdown.go | ||
markdown_test.go | ||
meta.go | ||
meta_test.go | ||
renderconfig.go | ||
renderconfig_test.go | ||
toc.go |