Commit 3fe3ab95 by Pieter van de Bruggen

Adding support for Set Delimiters tags.

parent 41c92afc
......@@ -79,6 +79,10 @@ class Template(object):
fetch = lambda view: unicode(view.get(captures['name']))
if captures['tag'] == '!':
pass
elif captures['tag'] == '=':
print '"', captures['name'], '"'
self.otag, self.ctag = captures['name'].split()
self._compile_regexps()
elif captures['tag'] in ['{', '&']:
buffer.append(fetch)
elif captures['tag'] == '':
......
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