[Checkins] [zopefoundation/DocumentTemplate] 89740d: Alternate approach to forbidding file inclusion in...
GitHub
noreply at github.com
Mon Feb 25 15:22:06 UTC 2013
Branch: refs/heads/zope2-philikon-zope2.11-with-standard-docutils
Home: https://github.com/zopefoundation/DocumentTemplate
Commit: 89740d2969990ccccefc7587eaf8a5cdff59ceef
https://github.com/zopefoundation/DocumentTemplate/commit/89740d2969990ccccefc7587eaf8a5cdff59ceef
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-06 (Wed, 06 Jun 2007)
Changed paths:
A tests/testDTML.py
Log Message:
-----------
Alternate approach to forbidding file inclusion in reStructuredText that's used from Zope:
* ship with a standard docutils package
* don't monkey patch docutils functions, rather change the default setting for
file_inclusion_enabled in the docutils parser.
This changes the behaviour, however. Instead of failing with a NotImplementedError, users
will now see the rendered document with a warning message. I think this is much more
sensible, anyway.
More information about the checkins
mailing list