~tieong/notjinja2

1923b0e69ff84c22b8ed4e8d043c0557b7f387a8 — Thomas Ieong 1 year, 7 months ago fdd2e4e
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)