diff options
author | Georg Brandl <georg@python.org> | 2011-07-09 11:34:44 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-07-09 11:34:44 +0200 |
commit | 437dd58861b0b2dbba0d68f2881c30c4fb318ab8 (patch) | |
tree | 14845ea5c96c1f6e5783c62f2e08ace27d136ce4 | |
parent | 84964d4f5cd65f832c9dcb9989fba0bbbb7ee94e (diff) | |
download | pygments-437dd58861b0b2dbba0d68f2881c30c4fb318ab8.tar.gz |
Add attributions for DTD lexer.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pygments/lexers/web.py | 4 |
3 files changed, 5 insertions, 1 deletions
@@ -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" @@ -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 |