I'm using Trac 1.5.4.dev (trunk).

I just noticed that when viewing files from the repository, a .c file will 
show as an image, but a .h file will show properly.

This is the kind of HTML that shows up within the web page:

<div id="preview" class="searchable">
  <div class="image-file">
    <img alt="(file path)" src="/trac/(project)/export/(file path)">
  </div>
</div>

Interestingly, using the "c" processor will syntax highlight a code snippet 
in the wiki.

Any ideas on how to convince Trac that those files are C source files?  
Does a mime type need to be specified?  It seems like that wasn't necessary 
in the past.

Thanks.

- Dan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/ad7d5974-153c-4d0a-aa1e-c4d24ca390f1n%40googlegroups.com.

Reply via email to