#5706: Two HTML errors in Admin documentation.
-------------------------------------------------+--------------------------
Reporter: Rob van der Linde <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Component: Admin interface
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-------------------------------------------------+--------------------------
With my projects, I like to use DEFAULT_CONTENT_TYPE =
'application/xhtml+xml' in my settings.py file. I then use an
XhtmlDegrader? middleware, to gracefully degrade my pages to text/html to
browsers that do not support this mimetype, such as IE.
I found another two bugs, this time, if you are in admin and click on
documentation and are running in application/xhtml+xml mode, the bug does
not happen in text/html mode, so maybe this is a good test to see if the
HTML pages conform.
If I click on "Tags" documentation, I get:
{{{
XML Parsing Error: mismatched tag. Expected: </hr>.
Location: http://ynui.co.nz:8001/admin/doc/tags/
Line Number 631, Column 3:</div>
--^
}}}
IF I click on "Views" documentation, I get:
{{{
XML Parsing Error: mismatched tag. Expected: </h3>.
Location: http://ynui.co.nz:8001/admin/doc/views/
Line Number 73, Column 46:<h3><a href="foo.bar.views.index/"/>/</a></h3>
-----------------------------------------------^
}}}
All the other links under the documentation are fine.
--
Ticket URL: <http://code.djangoproject.com/ticket/5706>
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
-~----------~----~----~----~------~----~------~--~---