Opened 17 years ago
Closed 17 years ago
#5706 closed (fixed)
Two HTML errors in Admin documentation.
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (4)
by , 17 years ago
comment:1 by , 17 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch for admin doc