1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 06:34:45 +01:00
gitea/modules
silverwind ec0a06e52c
Upgrade chroma to v2.3.0 (#21259)
The behaviour of `PreventSurroundingPre` has changed in
https://github.com/alecthomas/chroma/pull/618 so that apparently it now
causes line wrapper tags to be no longer emitted, but we need some form
of indication to split the HTML into lines, so I did what
https://github.com/yuin/goldmark-highlighting/pull/33 did and added the
`nopWrapper`.

Maybe there are more elegant solutions but for some reason, just
splitting the HTML string on `\n` did not work.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-09-26 13:50:03 +08:00
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
container
context Respect REQUIRE_SIGNIN_VIEW for packages (#20873) 2022-09-21 21:01:18 +08:00
convert Fix 500 on time tracking in timeline API (#21052) 2022-09-04 15:01:23 +01:00
csv
doctor
emoji
eventsource
generate
git Treat git object mode 40755 as directory (#21195) 2022-09-18 09:31:20 +08:00
gitgraph
graceful
hcaptcha
highlight Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
hostmatcher
httpcache
httplib
indexer test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
issue/template Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
json
lfs
log test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
markup Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
mcaptcha
metrics
migration Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
mirror
nosql
notification Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
options
packages NPM Package Registry search API endpoint (#20280) 2022-09-24 19:24:33 +08:00
paginator
password
pprof
private
process
proxy
proxyprotocol
public
queue test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
recaptcha
references
regexplru
repository Remove unnecessary length check for repo's Description & Website (#21194) 2022-09-18 10:35:24 +08:00
secret
session
setting Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
sitemap
ssh
storage Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
structs Limit length of repo description and repo url input fields (#21119) 2022-09-16 15:19:16 +08:00
svg
sync
templates Show label description in comments section (#21156) 2022-09-16 20:44:00 +08:00
test
timeutil
translation Use en-US as fallback when using other default language (#21200) 2022-09-25 02:00:16 +03:00
typesniffer
updatechecker
upload
uri
user
util Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
validation Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
watcher
web