#9492: Invalid XHTML in admin/base.html template
-------------------------------------------+--------------------------------
          Reporter:  dc                    |         Owner:  wilson
            Status:  new                   |     Milestone:        
         Component:  django.contrib.admin  |       Version:  1.0   
        Resolution:                        |      Keywords:        
             Stage:  Unreviewed            |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by remohammadi):

 According to [http://msdn.microsoft.com/en-
 us/library/ms537512.aspx#dlrevealed] '''<![if gte IE 6]>''' is a
 downlevel-revealed conditional comment, but I'm not sure why that's used
 here. I guess it was supposed to be <!--[if gte IE 6]>. The content inside
 of the downlevel-revealed conditional comment block should be
 parsed/rendered on IEs before 5, and non-IE browsers which will face some
 unrecognized/non-standard tags. (from the msdn page: "''the comment
 delimiters are treated as unrecognized HTML''" (in cold blood, they even
 didn't dis-recommend this method :D)).
 The only browser which will ignore the block would be the IE 5.* which
 understands '''<!--[if gte IE 6]>''' too.

 In [changeset:9463#file4] there are some changes on the header of
 base.html. The downlevel-revealed conditional comment is including a
 comment, a downlevel-hidden conditional comment and the "{% block
 extrastyle %}{% endblock %}" too. If you are going to change the
 downlevel-revealed to downlevel-hidden conditional comment, consider that.
 I think nested html comment is not allowed.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9492#comment:2>
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 [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