Is your feature request related to a problem? Please describe.
When SemanticDiff tripps over django template syntax, it fails to parse the whole HTML document.
Describe the solution you'd like
Attempt to parse django template syntax before HTML
Describe alternatives you've considered
Don't automatically try django template syntax but add a toggle to explicitly request it (keeps current behavior / code path for 99% of the users)
Additional context
Currently especially problematic when django expressions are contained in values of HTML attributes that use the same quotes the expression uses internally: <a href='{% url 'my_link' %}'></div>–currently parsing fails because the value to href is expected to end with the single quote before my_link
Is your feature request related to a problem? Please describe.
When SemanticDiff tripps over django template syntax, it fails to parse the whole HTML document.
Describe the solution you'd like
Attempt to parse django template syntax before HTML
Describe alternatives you've considered
Don't automatically try django template syntax but add a toggle to explicitly request it (keeps current behavior / code path for 99% of the users)
Additional context
Currently especially problematic when django expressions are contained in values of HTML attributes that use the same quotes the expression uses internally:
<a href='{% url 'my_link' %}'></div>–currently parsing fails because the value to href is expected to end with the single quote beforemy_link