1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 21:16:01 +01:00
gitea/modules/highlight
zeripath 623d2dd411
Prevent panic in Org mode HighlightCodeBlock ()
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:32 +01:00
..
highlight_test.go Just use a slice when rendering file () 2021-08-23 22:23:39 +01:00
highlight.go Prevent panic in Org mode HighlightCodeBlock () 2021-09-24 14:29:32 +01:00