Use do_dots everywhere
1 files changed, 2 insertions(+), 1 deletions(-) M notjinja2.py
M notjinja2.py => notjinja2.py +2 -1
@@ 93,7 93,7 @@ class Template: elif token == "endfor": self.dedent() elif token == tokens[-2]: self.buffer.append("data['{}']".format(token)) self.buffer.append(self.do_dots(token)) else: self.buffer.append(token) @@ 123,3 123,4 @@ class Template: def render(self): exec(self.code) return eval("template_render")(self.globs)