-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Labels
Milestone
Description
After reading #310 I think an option to ignore templating tags would solve it along with any other templating language the user might have.
Taking the Jinja/Django example from that issue:
{% extends "layout.html" %}
{% block body %}
<ul>
{% for user in users %}
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>
{% endblock %}
If tidy could be, in this case, convinced to ignore {% .. %}
and { ... }
tags then it would parse correctly. Same goes for the popular mustaches syntax {{ ... }}
and <% ... %>
for ERB/EEX.
This is a more general solution, and is similar to the custom tags option that already exists. What do you think?
tony-dunlop and af-inet