#14449: restructuredtext filter does not return the correct content
-----------------------------------+----------------------------------------
Reporter: feuervogel | Owner: nobody
Status: new | Milestone:
Component: Contrib apps | Version: 1.2
Resolution: | Keywords: markup, restructuredtext
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-----------------------------------+----------------------------------------
Changes (by russellm):
* needs_better_patch: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
Adding a diff where one didn't exist previously is a pretty big backwards
incompatibility. I'm not sure what the right way forward is here, but the
existing test cases must pass without modification.
Three suggestions:
* Automated inspection of the document contents; if it contains parts
that aren't rendered as part of `fragment`, *then* include the `div`.
* An argument that turns on 'full document' insertion
* A second template filter. I'd rather not go down this path; I'm really
only mentioning it for completeness.
--
Ticket URL: <http://code.djangoproject.com/ticket/14449#comment:5>
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.