Edgewall Software

Changes between Version 51 and Version 52 of TracSyntaxColoring


Ignore:
Timestamp:
Feb 23, 2012, 2:42:36 PM (12 years ago)
Author:
anonymous
Comment:

if 'svn:mime-type' is 'text/plain', no coloring

Legend:

Unmodified
Added
Removed
Modified
  • TracSyntaxColoring

    v51 v52  
    3838HTML documents are directly rendered only if the `render_unsafe_html` settings are enabled in the TracIni (those settings are present in multiple sections, as there are different security concerns depending where the document comes from). If you want to ensure that an HTML document gets syntax highlighted and not rendered, use the `text/xml` mimetype.
    3939
     40If mimetype such as 'svn:mime-type' is set to 'text/plain', there is no coloring even if file is known type like 'java'.
    4041
    4142=== List of Languages Supported, by Highlighter #language-supported