1. Jesper Noehr
  2. pygments3
  3. Issues
Issue #429 open

Django lexer mishighlights block names with hyphens

created an issue

The following example highlights the "-" character as an operator, when it actually appears to be legal in the block name.

{{{ {% block object-tools %} }}}

Noticed at http://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-vs-replacing-an-admin-template

Comments (4)

  1. Log in to comment