#32789: adding support for self closing tags in syndication feeds
-------------------------------------+-------------------------------------
Reporter: The- | Owner: nobody
Daishogun |
Type: New | Status: new
feature |
Component: Utilities | Version: 3.2
Severity: Normal | Keywords: feeds; syndication
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
the code for syndication feeds was written in a time where self closing
tags didn't exist. but today, if an element has no text between the tags,
the standard is that it should be a self closing tag. python added this
functionality in 3.2 to XMLGenerator but django still doesn't use this in
generating syndication feeds. this is the matter of passing a single
argument to the SimplerXMLGenerator that django uses for generating feeds.
since SimplerXMLGenerator directly inherits from pythons XMLGenrator,
passing the arguments works with this class too .
this is my attempt at making it right
[https://github.com/django/django/pull/14451]
--
Ticket URL: <https://code.djangoproject.com/ticket/32789>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.df8740a0a36b5b4040a51488e56e84e9%40djangoproject.com.