summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-02 12:06:19 +0100
committerGeorg Brandl <georg@python.org>2016-02-02 12:06:19 +0100
commit5bdb8c48218e7a119789e3e4bfb9e1cfb8b39617 (patch)
tree237b0e43fe71bc313ae0f7124ec3f23a4759001f
parent6903aeae223fb170f50af21b732ff7f9a1459455 (diff)
downloadpygments-5bdb8c48218e7a119789e3e4bfb9e1cfb8b39617.tar.gz
Closes #1167: support dots in Genshi tag names.
-rw-r--r--pygments/lexers/templates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py
index 3575260e..3e55b6ad 100644
--- a/pygments/lexers/templates.py
+++ b/pygments/lexers/templates.py
@@ -877,7 +877,7 @@ class GenshiMarkupLexer(RegexLexer):
# yield style and script blocks as Other
(r'<\s*(script|style)\s*.*?>.*?<\s*/\1\s*>', Other),
(r'<\s*py:[a-zA-Z0-9]+', Name.Tag, 'pytag'),
- (r'<\s*[a-zA-Z0-9:]+', Name.Tag, 'tag'),
+ (r'<\s*[a-zA-Z0-9:.]+', Name.Tag, 'tag'),
include('variable'),
(r'[<$]', Other),
],