summaryrefslogtreecommitdiff
path: root/pygments/lexers/templates.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/templates.py')
-rw-r--r--pygments/lexers/templates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py
index 666bd5a7..641675b9 100644
--- a/pygments/lexers/templates.py
+++ b/pygments/lexers/templates.py
@@ -230,11 +230,11 @@ class GenshiTextLexer(RegexLexer):
tokens = {
'root': [
- (r'[^#\$\s]+', Text),
+ (r'[^#\$\s]+', Other),
(r'^(\s*)(##.*)$', bygroups(Text, Comment)),
(r'^(\s*)(#)', bygroups(Text, Comment.Preproc), 'directive'),
include('variable'),
- (r'[#\$\s]', Text),
+ (r'[#\$\s]', Other),
],
'directive': [
(r'\n', Text, '#pop'),