[sorry if this message appeared second time] > This is intended behavior from docutils: if the reST document starts > with a header it is considered the "document header" and is > intentionally not a part of the fragment by default. Rather than > using the body the correct approach would be to pass in the proper > flag to disable "document headers" so that the opening. But even "----" headers doesn't shown. I think this default behavior is not good as you can't insert any header into your document. Or I missed something?
> Rather than switch to the 'html_body', it probably makes more sense > for Django's default template tag to open up a setting to provide > additional flags to publish_parts/docutils writer/docutils > transformer, such as the aforementioned one to disable document > headers, or other generally useful flags such as the ones to enable > certain security features. Thank you for advice, I missed this. At least it will allow me run my site on unmodified django. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
