#5646 Syntax highlighting detection and file extension case-sensitivity [ss2516]

v1.0.0
closed
General
nobody
2015-08-20
2013-01-22
Chris Tsai
No

[forge:site-support:#2516]

C++ (or at least C) syntax highlighting should be shown when browsing this source code file.

eg. http://sourceforge.net/p/soxr/code/ci/master/tree/examples/2-stream.C

Seems to be a case-sensitivity thing, since I committed the same file with a ".c" extension instead to a test repo, and syntax highlighting worked fine in that case.

Discussion

  • Anonymous - 2013-05-22

    Originally by: robs

    This bug is fixed in Version 1.6 (released Feb 3, 2013) of pygments, so the fix for allura is simply to use this or a newer version of pygments.

     
  • Dave Brondsema

    Dave Brondsema - 2013-05-31
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
    • Size: --> 0
    • Milestone: limbo --> forge-may-31
     
  • Dave Brondsema

    Dave Brondsema - 2013-06-03
    • status: in-progress --> closed
    • Milestone: forge-may-31 --> forge-jun-14
     

Log in to post a comment.