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