mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 16:03:59 +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.go | ||
highlight_test.go |