X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/8c6ffb8e54f201a0fb7776fdd865bbbb3d42a29b..e34370024b84235952bddecb46029bcfd656bdc2:/templatetags/containers.py diff --git a/templatetags/containers.py b/templatetags/containers.py index 8bb0c6b..c5fd445 100644 --- a/templatetags/containers.py +++ b/templatetags/containers.py @@ -43,7 +43,7 @@ class ContainerNode(template.Node): # Otherwise it's a contentlet. try: contentlet = page.contentlets.get(name__exact=self.name) - if '{%' in contentlet.content: + if '{%' in contentlet.content or '{{' in contentlet.content: try: content = template.Template(contentlet.content, name=contentlet.name).render(context) except template.TemplateSyntaxError, error: