#14502: Feature: escape hatch for colliding template syntax in Django templates
--------------------------------------+-------------------------------------
          Reporter:  dgouldin         |         Owner:  nobody
            Status:  new              |     Milestone:        
         Component:  Template system  |       Version:  1.2   
        Resolution:                   |      Keywords:        
             Stage:  Accepted         |     Has_patch:  1     
        Needs_docs:  1                |   Needs_tests:  1     
Needs_better_patch:  1                |  
--------------------------------------+-------------------------------------
Comment (by floguy):

 I don't think this patch is quite sufficient because it can actually
 change the contents of the text in the noparse block.  Specifically, it
 won't preserve whitespace within things that it interprets as blocks or
 variables.

 However, I don't think it's going to be possible to escape out of parsing
 using the usual templatetag constructs, because it's already tokenized and
 parsed by the time it's handed off to the node.

 Maybe a pre-processing step that happens before everything else is in
 order?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14502#comment:7>
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-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to