#4169 Syntax highlighting for files is very broken (pagure 5.1.93)
Closed: Fixed 6 years ago by pingou. Opened 6 years ago by ngompa.

With Pagure 5.1.93 on stg.pagure.io, it seems that syntax highlighting is still very broken.

For example, with this project: https://stg.pagure.io/rpm-packages/pagure

  • The README file should be treated as plain text, as it's an "unrecognized format".
  • The spec file is not being rendered like a spec file
  • The patch files aren't being rendered properly.
  • The sha1.lst file has some funky rendering.

Compare to the exact same project on GitHub: https://github.com/Conan-Kudo/pagure-mageia-rpm

Or compare to the mostly similar project on OBS: https://build.opensuse.org/package/show/openSUSE:Factory/pagure

The rendering is very broken and I don't understand why.


The other files still have broken rendering at that commit, but at least the spec file renders properly...

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #4182 Merged 6 years ago