#33329: Allow more whitespace control on template tags
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  christopherpickering               |
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Template   |        Version:  3.2
  system                             |       Keywords:  space control
               Severity:  Normal     |  template
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 When putting template tags inside of html attributes the surrounding
 whitespace is not removed.

 For example a readable template

 {{{
 <input value="{% if a %}
                  this
               {% else %}
                   that
               {% endif %}">
 }}}

 It not parsed onto a single line, which is needed. How about adding the
 option `-%}` to remove whitespace between the tag end and contents?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33329>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.280e6c8d09f87ffbd0970525c3903397%40djangoproject.com.

Reply via email to