You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/markup/orgmode
zeripath 4b6556565f
Prevent panic in Org mode HighlightCodeBlock (#17140) (#17141)
Backport #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>
3 years ago
..
orgmode.go Prevent panic in Org mode HighlightCodeBlock (#17140) (#17141) 3 years ago
orgmode_test.go Prevent panic in Org mode HighlightCodeBlock (#17140) (#17141) 3 years ago