Offering a ''Plain Text'' download should not be solely based on whether the file has a MIME type that is a sub-type of {{{text/}}}, because that excludes text files with MIME types such as {{{application/xml}}} or {{{image/svg+xml}}}. Use the {{{trac.mimeview.is_binary()}}} function instead.
Offering a ''Plain Text'' download should not be solely based on whether the file has a MIME type that is a sub-type of {{{text/}}}, because that excludes text files with MIME types such as {{{application/xml}}} or {{{image/svg+xml}}}. Use the {{{trac.mimeview.is_binary()}}} function instead.

git-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@1765 af82e41b-90c4-0310-8c96-b1721e28e2e2

moreati/trac-gitsvn,moreati/trac-gitsvn,moreati/trac-gitsvn,exocad/exotrac,dafrito/trac-mirror,dafrito/trac-mirror,exocad/exotrac,dokipen/trac,dafrito/trac-mirror,dafrito/trac-mirror,dokipen/trac,dokipen/trac,moreati/trac-gitsvn,exocad/exotrac,exocad/exotrac