Commit ff875758 authored by Andreas Jung's avatar Andreas Jung

the constructor now uses text/html as default value for content_type

parent 237c0626
......@@ -103,7 +103,7 @@ class ZopePageTemplate(Script, PageTemplate, Historical, Cacheable,
security.declareProtected(view_management_screens,
'read', 'ZScriptHTML_tryForm')
def __init__(self, id, text=None, content_type=None, strict=True, output_encoding='utf-8'):
def __init__(self, id, text=None, content_type='text/html', strict=True, output_encoding='utf-8'):
self.id = id
self.expand = 0
self.ZBindings_edit(self._default_bindings)
......
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