Commit 5a6a0ef3 authored by Evan Simpson's avatar Evan Simpson

Default to non-strict insertion of structure.

parent 9a8fe7c4
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
HTML- and XML-based template objects using TAL, TALES, and METAL. HTML- and XML-based template objects using TAL, TALES, and METAL.
""" """
__version__='$Revision: 1.7 $'[11:-2] __version__='$Revision: 1.8 $'[11:-2]
import os, sys, traceback import os, sys, traceback
from TAL.TALParser import TALParser from TAL.TALParser import TALParser
...@@ -150,7 +150,7 @@ class PageTemplate: ...@@ -150,7 +150,7 @@ class PageTemplate:
TALInterpreter(self._v_program, self._v_macros, TALInterpreter(self._v_program, self._v_macros,
getEngine().getContext(c), getEngine().getContext(c),
output, output,
tal=not source)() tal=not source, strictinsert=0)()
return output.getvalue() return output.getvalue()
def __call__(self, *args, **kwargs): def __call__(self, *args, **kwargs):
......
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