diff options
author | zeripath <art27@cantab.net> | 2021-09-24 14:29:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 14:29:32 +0100 |
commit | 623d2dd411b6a84a01bff3ca8046f1bd01773ffb (patch) | |
tree | b0a006bc910255246756c0105e6d6c3d4c149f04 /modules/highlight/highlight_test.go | |
parent | 5842a55b3103d3f09751eb7b3b049415197debad (diff) | |
download | gitea-623d2dd411b6a84a01bff3ca8046f1bd01773ffb.tar.gz gitea-623d2dd411b6a84a01bff3ca8046f1bd01773ffb.zip |
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>
Diffstat (limited to 'modules/highlight/highlight_test.go')
0 files changed, 0 insertions, 0 deletions