{{ filename }}
{% for sev, count, code, text, line, msg_count, expand, errs in index %}
{{ count }}
{{ code }}:
{{ text }} {% if msg_count > 1 %} (and {{ msg_count - 1 }} similar) {% endif %}
{% for lineno, etext, count in errs -%}
{% if expand %}
{{etext|sentence}}{% if count > 1 %} (in {{ count }} places){% endif %}:
{% endif %}
{{lineno}}
{{ html_lines[lineno - 1] or ' '|safe }}
{%- endfor %}
{% endfor %}