#14449: restructuredtext filter does not return the correct content
--------------------------------------+-------------------------------------
Reporter: feuervogel | Owner: nobody
Status: new | Milestone:
Component: Contrib apps | Version: 1.2
Keywords: markup, restructuredtext | Stage: Unreviewed
Has_patch: 1 |
--------------------------------------+-------------------------------------
I'm using the django.contrib.flatpages with restructuredtext markup. I've
tested it with a small
{{{
Disclaimer
==========
This is a *test*.
}}}
After all, the ''disclaimer'' part is not rendered. This happens because
the renderer returns a ''parts'' and its ''fragment'' key is used. The
[http://docutils.sourceforge.net/docs/api/publisher.html#fragment docutils
doc] reads that the fragment does not contain the document title. I've
added a patch which makes use of the ''html_body'' key.
--
Ticket URL: <http://code.djangoproject.com/ticket/14449>
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.