forgejo/modules/markup
Gusted efd63ec1d8
[BUG] Don't panic on empty blockquote
- 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.
2024-07-21 01:10:20 +02:00
..
asciicast
common
console [CHORE] Update terminal-to-html dependency 2024-07-04 23:41:17 +02:00
csv Add MAX_ROWS option for CSV rendering (#30268) 2024-06-09 16:04:57 +02:00
external
markdown [BUG] Don't panic on empty blockquote 2024-07-21 01:10:20 +02:00
mdstripper Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
orgmode Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
tests/repo/repo1_filepreview
camo.go
camo_test.go
file_preview.go
html.go Refactor markup code (#31399) 2024-06-23 11:53:36 +02:00
html_internal_test.go Fix hash render end with colon (#31319) 2024-06-16 13:42:58 +02:00
html_test.go Refactor markup code (#31399) 2024-06-23 11:53:36 +02:00
renderer.go [CHORE] Remove github.com/yuin/goldmark-meta 2024-07-07 03:18:13 +02:00
renderer_test.go
sanitizer.go
sanitizer_test.go