#23424: Verbatim tag fails to render curly braces
---------------------------------+-----------------------------------
     Reporter:  stephband        |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  Template system  |    Version:  1.7-rc-2
     Severity:  Normal           |   Keywords:  verbatim template tag
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+-----------------------------------
 The {% verbatim %} tag fails to render curly braces under certain
 conditions - notably when there are two verbatim tags on the same line.

 This works:

 {% verbatim %}{{{% endverbatim %}   – correctly renders as –   {{
 {% verbatim %}}}{% endverbatim %}   – correctly renders as –   }}

 However, this fails:

 {% verbatim %}{{% endverbatim %}text{% verbatim %}}{% endverbatim %}   –
 incorrectly renders as –   {{% endverbatim %}text{% verbatim %}}
 {% verbatim %}{{{% endverbatim %}text{% verbatim %}}}{% endverbatim %}   –
 incorrectly renders as –   {{{% endverbatim %}text{% verbatim %}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23424>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.d9fb9b83e1e309a6e23b0b54ebe03bb1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to