Commits

Georg Brandl committed 9a34b9e

Add attributions for DTD lexer.

  • Participants
  • Parent commits 28eade4

Comments (0)

Files changed (3)

 * 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"
   * F# (#353)
   * Groovy (#501)
   * PostgreSQL (#660)
+  * DTD
 
 - In the LaTeX formatter, escape special &, < and > chars (#648).
 

pygments/lexers/web.py

 
 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