mirror of
1
Fork 0
forgejo/modules/markup
zeripath 623d2dd411
Prevent panic in Org mode HighlightCodeBlock (#17140)
When rendering source in org mode there is a mistake in the highlight code that
causes a panic.

This PR fixes this.

Fix #17139

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-24 14:29:32 +01:00
..
common
csv refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
external refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
markdown refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
mdstripper
orgmode Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
html.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
html_internal_test.go Do not show issue context popup on external issues (#17050) 2021-09-15 09:45:27 +01:00
html_test.go
renderer.go
renderer_test.go
sanitizer.go Do not show issue context popup on external issues (#17050) 2021-09-15 09:45:27 +01:00
sanitizer_test.go