summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-07-09 11:34:44 +0200
committerGeorg Brandl <georg@python.org>2011-07-09 11:34:44 +0200
commit437dd58861b0b2dbba0d68f2881c30c4fb318ab8 (patch)
tree14845ea5c96c1f6e5783c62f2e08ace27d136ce4
parent84964d4f5cd65f832c9dcb9989fba0bbbb7ee94e (diff)
downloadpygments-437dd58861b0b2dbba0d68f2881c30c4fb318ab8.tar.gz
Add attributions for DTD lexer.
-rw-r--r--AUTHORS1
-rw-r--r--CHANGES1
-rw-r--r--pygments/lexers/web.py4
3 files changed, 5 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 6c347e59..da458436 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -56,6 +56,7 @@ Other contributors, listed alphabetically, are:
* Lukas Meuser -- BBCode formatter, Lua lexer
* Michael Mior -- Awk lexer
* Paulo Moura -- Logtalk lexer
+* Mher Movsisyan -- DTD lexer
* Ana Nelson -- Ragel, ANTLR, R console lexers
* Nam T. Nguyen -- Monokai style
* Jesper Noehr -- HTML formatter "anchorlinenos"
diff --git a/CHANGES b/CHANGES
index 8d7001ac..6c257a9c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@ Version 1.5
* F# (#353)
* Groovy (#501)
* PostgreSQL (#660)
+ * DTD
- In the LaTeX formatter, escape special &, < and > chars (#648).
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index a601d0a4..fdb569b6 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -828,7 +828,9 @@ class PhpLexer(RegexLexer):
class DtdLexer(RegexLexer):
"""
- a lexer for DTD (Document Type Definition).
+ A lexer for DTDs (Document Type Definitions).
+
+ *New in Pygments 1.5.*
"""
flags = re.MULTILINE | re.DOTALL