#3729 Fix syntax highlighting of files.
Merged by pingou. Opened by ryanlerch.
ryanlerch/pagure syntax-highlighting-fixes  into  master

Download 3729.patch

This updates the file display to use just highlight.js
Previously, highlight.js was run over the old style
codetable that was generated for when we used pygments,
and this was causing each line to be rendered seperately.
This caused hilight.js to determine some strange filetypes
for these fragments, and typically hilight them as bash output.

rebased onto 9b014d06fd091df9444b8c1dcee65678034db13d

Should we |noJS to it?

rebased onto 75cbc19302ee5a49d8479b0615d6a3108033f09b

Tested locally, no |noJS required apparently

rebased onto 25bee9793b6011c0de8158b076d7260c9b5d836b

Pull-Request has been merged by pingou

Metadata