Modify ↓
Opened 16 years ago
Closed 16 years ago
#8205 closed defect (invalid)
Empty comments are not handled properly
Reported by: | mar | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/browser | Version: | 0.11 |
Severity: | normal | Keywords: | comment empty color |
Cc: | trac@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Empty comments in my PHP code, in .php files are not handled properly I mean if I add // to source, everything after */ and until another */ are collored as comment.
I think this issue might also be valid with C/C++ code and etc.
I have checked it only with 0.11, so it needs confirmation on newer versions.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Let's see:
Indeed, this seems to be the case. Trac is using Pygments for syntax highlighting, so this is an issue with Pygments.
I haven't found a ticket about this in the Pygments tracker, so you may want to report the issue there: