X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/24677328851cc04e6b15254606dfadd8af8a2432..f314a8ddceb543e2bb4711d50bdd2060452689b1:/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: