mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 20:06:00 +01:00
0747592865
The code for detection of lines in highlight.go is somewhat too complex and doesn't take account of how Chroma is actually splitting things into lines for us. Remove both the .line and .cl classes from Chroma's HTML which made the old conditional work again. This fixed Copy of YAML files while also reducing the amount of rendered HTML nodes. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
highlight_test.go | ||
highlight.go |