0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 00:50:21 +01:00
forgejo/services
silverwind ec0a06e52c
Upgrade chroma to v2.3.0 ()
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
..
agit
asymkey
attachment
auth Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
automerge
comments
context
cron Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
externalaccount
forms Limit length of repo description and repo url input fields () 2022-09-16 15:19:16 +08:00
gitdiff Upgrade chroma to v2.3.0 () 2022-09-26 13:50:03 +08:00
issue Allow poster to choose reviewers () 2022-09-09 18:27:47 +01:00
lfs
mailer Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
migrations Move go-licenses to generate and separate generate into a frontend and backend component () 2022-09-05 14:04:18 +08:00
mirror
org Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
packages Replace ServeStream with ServeContent () 2022-08-25 12:05:21 -04:00
pull
release Add more checks in migration code () 2022-09-04 13:47:56 +03:00
repository fix hard-coded timeout and error panic in API archive download endpoint () 2022-08-29 11:45:20 +02:00
task Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
user
webhook Webhook for Wiki changes () 2022-09-04 20:54:23 +01:00
wiki Webhook for Wiki changes () 2022-09-04 20:54:23 +01:00