mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Previewer/Code: Remove duplicate mimetype (#65)
This commit is contained in:
parent
e3e76ecf5a
commit
264e557b23
@ -38,8 +38,7 @@ register_custom_mimetypes()
|
|||||||
class PygmentsPreviewer(Previewer):
|
class PygmentsPreviewer(Previewer):
|
||||||
# All supported MIME types
|
# All supported MIME types
|
||||||
MIMETYPES = ('text/css', 'text/x-python', 'text/x-ruby-script', 'text/x-java-source', 'text/x-c',
|
MIMETYPES = ('text/css', 'text/x-python', 'text/x-ruby-script', 'text/x-java-source', 'text/x-c',
|
||||||
'application/javascript', 'text/x-c', 'text/x-fortran', 'text/x-csharp', 'text/php',
|
'application/javascript', 'text/x-fortran', 'text/x-csharp', 'text/php', 'text/x-php')
|
||||||
'text/x-php')
|
|
||||||
|
|
||||||
# Python's mimetypes lib and Pygments do not quite agree on some MIME types
|
# Python's mimetypes lib and Pygments do not quite agree on some MIME types
|
||||||
CUSTOM_LEXERS = {
|
CUSTOM_LEXERS = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user