Commit 40a41bdd authored by Andreas Jung's avatar Andreas Jung

added support for reST

parent 14924b89
......@@ -18,13 +18,14 @@ Scripts. It can be accessed from Python with the statement
"import Products.PythonScripts.standard"
"""
__version__='$Revision: 1.12 $'[11:-2]
__version__='$Revision: 1.13 $'[11:-2]
from AccessControl import ModuleSecurityInfo, getSecurityManager
security = ModuleSecurityInfo()
security.declarePublic('special_formats', 'whole_dollars',
'dollars_and_cents', 'structured_text',
'restructured_text',
'sql_quote', 'html_quote', 'url_quote',
'url_quote_plus', 'newline_to_br',
'thousands_commas', 'url_unquote',
......@@ -32,7 +33,7 @@ security.declarePublic('special_formats', 'whole_dollars',
from DocumentTemplate.DT_Var import special_formats, \
whole_dollars, dollars_and_cents, structured_text, sql_quote, \
html_quote, url_quote, url_quote_plus, newline_to_br, thousands_commas, \
url_unquote, url_unquote_plus
url_unquote, url_unquote_plus, restructured_text
from urllib import urlencode
from Globals import HTML
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment