Komodo Edit 5.2 Django Template Syntax Error - Info: <head> previously mentioned
- by Lance McNearney
I am using Komodo Edit 5.2 for editing html and Django template files. It always shows a single syntax error inside the first {% block %} area on the first tag of my template.
For example:
{% extends "base.html" %}
{% load i18n %}
{% block title %}Hello{% endblock %}
{% block content %}
<p>Hello</p> <-- Syntax error on this single line
<p>Other lines have no errors</p>
{% endblock %}
{% block footer %}
<p>No errors here</p>
{% endblock %}
The syntax error given is:
Info: <head> previously mentioned
I know for a fact that the error has nothing to do with my <head> tag since it occurs in the base template and in child templates (and the IDE isn't smart enough to process the base templates when in a child, etc.) All of my html tags are closed properly and everything validates for XHTML strict.
This forum post mentions a similar problem but offers no solution (and may be specific to Smarty syntax highlighting).
Any ideas on how to resolve this error (or disable it from being shown)?