#4573: Minor rewrite of linebreaks and linebreaksbr
----------------------------------------------------+-----------------------
   Reporter:  Johan Bergström <[EMAIL PROTECTED]>  |                Owner:  
adrian                
     Status:  new                                   |            Component:  
Template system       
    Version:  SVN                                   |           Resolution:     
                   
   Keywords:  linebreaks html                       |                Stage:  
Design decision needed
  Has_patch:  1                                     |           Needs_docs:  0  
                   
Needs_tests:  0                                     |   Needs_better_patch:  0  
                   
----------------------------------------------------+-----------------------
Comment (by mtredinnick):

 I haven't read the patch yet, so I have no comment on the specifics,
 however one thing in your comment raises alarms.
 
 The space before the slash in {{{<br />}}} is required for HTML parsing.
 The trailing slash is actually invalid in HTML (as opposed to XHTML) and
 so it is exploiting the required error recovery behaviour in order to
 work. You can't just remove it or there will be subtle errors in some
 renderers when used in SGML-based HTML output.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4573#comment:5>
Django Code <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 [email protected]
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