gitea/modules/markup
zeripath 4b6556565f
Prevent panic in Org mode HighlightCodeBlock () ()
Backport 

When rendering source in org mode there is a mistake in the highlight code that
causes a panic.

This PR fixes this.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-24 14:29:47 +01:00
..
common Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
csv Add sanitizer rules per renderer () 2021-06-23 17:09:51 -04:00
external In Render tolerate not being passed a context () () 2021-08-29 15:25:45 +01:00
markdown Fix table alignment in markdown () () 2021-08-04 00:16:00 +01:00
mdstripper Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
orgmode Prevent panic in Org mode HighlightCodeBlock () () 2021-09-24 14:29:47 +01:00
html.go Do not show issue context popup on external issues () () 2021-09-15 17:38:20 +08:00
html_internal_test.go Do not show issue context popup on external issues () () 2021-09-15 17:38:20 +08:00
html_test.go Fix NPE in fuzzer () () 2021-08-13 08:51:13 +03:00
renderer.go Add sanitizer rules per renderer () 2021-06-23 17:09:51 -04:00
renderer_test.go Refactor renders () 2021-04-19 18:25:08 -04:00
sanitizer.go Do not show issue context popup on external issues () () 2021-09-15 17:38:20 +08:00
sanitizer_test.go Fix data URI scramble () 2021-06-07 18:55:26 +02:00