0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:34:42 +01:00
gitea/modules
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
..
analyze
auth
avatar refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
base
cache
charset refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
context refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
convert Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
cron
csv
doctor DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
emoji
eventsource
generate
git refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
gitgraph Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
graceful refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
hcaptcha
highlight Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
httpcache
httplib refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
indexer Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
json
lfs refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
log refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
markup Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
matchlist
metrics
migrations Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
nosql
notification
options refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
password
pprof refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
private refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
process
proxy
public refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
queue refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
recaptcha refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
references
repofiles
repository Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
secret
session
setting refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
ssh
storage refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
structs
svg refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
sync
task
templates refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
test
timeutil
translation
typesniffer
upload
uri
user
util
validation
web