1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #429 resolved

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 (6)

  1. Log in to comment