python-discord / infra

Infrastructure for Python Discord
https://docs.pydis.wtf
MIT License
14 stars 4 forks source link

cgit does not show indents properly #515

Closed jchristgit closed 2 months ago

jchristgit commented 2 months ago

When reviewing diffs in cgit, such as this one, cgit fails to show the indent of files. Could this perhaps be caused by the syntax highlighting configuration?

jb3 commented 2 months ago

We don't do any syntax highlighting on diffs.

jb3 commented 2 months ago

Disabled syntax highlighting to double check, but the issue remains.

There's a chance this is something along the way stripping leading whitespace. I will check Cloudflare preferences.

jb3 commented 2 months ago

This was Cloudflare, resolved now by removing HTML minification.