#9198: templatetag include adds new line
-----------------------------+----------------------------------------------
 Reporter:  versae           |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Template system  |     Version:  1.0       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 If I have a template
 {{{
 # template1.html
 Line 1
 Line 2
 }}}

 And I include this template in other one using templatetag include:
 {{{
 # template2.html
 {% include template1.html %}
 Line 3
 }}}

 The output must be:
 {{{
 # template2.html
 # template1.html
 Line 1
 Line 2
 Line 3
 }}}

 But the actual output is:
 {{{
 # template2.html
 # template1.html
 Line 1
 Line 2

 Line 3
 }}}

 This behavior is particularly annoying when it renders a template
 including JSON.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9198>
Django <http://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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to