diff options
author | gbrandl <devnull@localhost> | 2008-08-02 14:23:53 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2008-08-02 14:23:53 +0200 |
commit | 81fd32bd2392b0ddc20263373f4a9501f1e6d45b (patch) | |
tree | 913608719090f2b625aa9d03398c99d7fb004b97 | |
parent | 1742a8b7fff94c629c12e2b1154a0b8bcca805b8 (diff) | |
download | pygments-81fd32bd2392b0ddc20263373f4a9501f1e6d45b.tar.gz |
#350: fix a copy/paste error.
-rw-r--r-- | pygments/lexers/_mapping.py | 2 | ||||
-rw-r--r-- | pygments/lexers/templates.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py index c6aa1518..feb85860 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -27,7 +27,7 @@ LEXERS = { 'CLexer': ('pygments.lexers.compiled', 'C', ('c',), ('*.c', '*.h'), ('text/x-chdr', 'text/x-csrc')), 'CObjdumpLexer': ('pygments.lexers.asm', 'c-objdump', ('c-objdump',), ('*.c-objdump',), ('text/x-c-objdump',)), 'CSharpLexer': ('pygments.lexers.dotnet', 'C#', ('csharp', 'c#'), ('*.cs',), ('text/x-csharp',)), - 'CheetahHtmlLexer': ('pygments.lexers.templates', 'HTML+Cheetah', ('html+cheetah', 'html+spitfire'), (), ('text/html+myghty', 'text/html+spitfire')), + 'CheetahHtmlLexer': ('pygments.lexers.templates', 'HTML+Cheetah', ('html+cheetah', 'html+spitfire'), (), ('text/html+cheetah', 'text/html+spitfire')), 'CheetahJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Cheetah', ('js+cheetah', 'javascript+cheetah', 'js+spitfire', 'javascript+spitfire'), (), ('application/x-javascript+cheetah', 'text/x-javascript+cheetah', 'text/javascript+cheetah', 'application/x-javascript+spitfire', 'text/x-javascript+spitfire', 'text/javascript+spitfire')), 'CheetahLexer': ('pygments.lexers.templates', 'Cheetah', ('cheetah', 'spitfire'), ('*.tmpl', '*.spt'), ('application/x-cheetah', 'application/x-spitfire')), 'CheetahXmlLexer': ('pygments.lexers.templates', 'XML+Cheetah', ('xml+cheetah', 'xml+spitfire'), (), ('application/xml+cheetah', 'application/xml+spitfire')), diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index a0ca70e2..fd84073f 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -591,7 +591,7 @@ class CheetahHtmlLexer(DelegatingLexer): name = 'HTML+Cheetah' aliases = ['html+cheetah', 'html+spitfire'] - mimetypes = ['text/html+myghty', 'text/html+spitfire'] + mimetypes = ['text/html+cheetah', 'text/html+spitfire'] def __init__(self, **options): super(CheetahHtmlLexer, self).__init__(HtmlLexer, CheetahLexer, |