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