Commit fc16cfcf authored by hbristow's avatar hbristow

Improved template formatting

parent 304fd03e
...@@ -24,7 +24,7 @@ class MatlabWrapperGenerator(object): ...@@ -24,7 +24,7 @@ class MatlabWrapperGenerator(object):
parse_tree.build(ns) parse_tree.build(ns)
# setup the template engine # setup the template engine
jtemplate = Environment(loader=PackageLoader('templates', ''), trim_blocks=True) jtemplate = Environment(loader=PackageLoader('templates', ''), trim_blocks=True, lstrip_blocks=True)
# add the custom filters # add the custom filters
jtemplate.filters['toUpperCamelCase'] = toUpperCamelCase jtemplate.filters['toUpperCamelCase'] = toUpperCamelCase
......
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