The mimeview system works based entirely on MIME types, so if an explicit
one is set via properties it will override all auto-detection. This is a
feature, not a bug.

--Noah

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of VegHead
> Sent: Wednesday, August 27, 2008 9:58 AM
> To: Trac Users
> Subject: [Trac] Re: Source Browser - Syntax Highlighting not working
> 
> 
> Okay, I now understand the problem, but I'm still confused why it's an
> issue. Files with the mime-type explicitly set to text/plain via the
> svn property (e.g. svn:mime-type=text/plain) are not displayed using
> syntax highlighting in Trac. Files w/out an explicit mime-type display
> correctly.
> 
> I would expect to Trac to honor the mime-type in certain cases (like
> any binary type), but I wouldn't expect text/plain to interfere with
> syntax highlighting. Is this the expected/desired behavior?
> 
> -VegHead
> 
> On Aug 26, 4:41 pm, VegHead <[EMAIL PROTECTED]> wrote:
> > I'm having trouble getting syntax highlighting working in the Source
> > Browser.  I'm running Trac 0.11b2 and I verified that Pygments is
> > installed. Is there something simple and/or stupid I could be
> missing?
> >
> > Any advice would be greatly appreciated.
> >
> > -VegHead
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to