A django block inside an HTML string breaks the string processing

Bug #929646 reported by Fred Kroon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
New
Undecided
Unassigned

Bug Description

When a django block occurs within an HTML string, the mode loses track of the string when it encounters the start of the django tag. For example, in both of the following examples, the /> is incorrectly marked as part of a new string.

<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css"/>

<link rel="stylesheet" href="{% block test %}true{% endblock %}"/>

Wasn't sure if this is the same as bug #434803, but I reported it separately since that bug mentions PHP specifically.

Tags: django
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.