5d94e9cf ยท zzmq.dev@gmail.com/zz
Commit
5d94e9cfee1707c96ba302e4526691df56ad1829
Blob viewer: stop hljs auto-detecting a language for extensionless files Files with no extension (LICENSE, Dockerfile, ...) were falling through to an empty language-"" class on the code block, which hljs treats as a cue to run its own auto-detection heuristic rather than render plain text -- that's why a plain-text LICENSE file was coming out syntax-highlighted. Default to the real "plaintext" hljs language when there's no extension to key off, and map .txt the same way.
Troy Howard <thoward37@gmail.com> -- 2026-10-13T02:38:17.000Z