forgejo/services
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
..
agit
asymkey
attachment
auth
automerge
comments
context
cron
externalaccount
forms Limit length of repo description and repo url input fields (#21119) 2022-09-16 15:19:16 +08:00
gitdiff Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
issue Allow poster to choose reviewers (#21084) 2022-09-09 18:27:47 +01:00
lfs
mailer
migrations Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
mirror
org
packages
pull
release Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
repository
task
user
webhook Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
wiki Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00