From 15bf3e2ededab97d3183fd315d3e4c5136c97470 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 12 Jan 2015 20:53:28 -0600 Subject: [PATCH] fixed issue 1991, thanks Mark --- VERSION | 2 +- gluon/html.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 70772022..1ff6dcfe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.9.12-beta+timestamp.2015.01.12.20.38.57 +Version 2.9.12-beta+timestamp.2015.01.12.20.53.19 diff --git a/gluon/html.py b/gluon/html.py index ee491479..7b88a87f 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -850,7 +850,7 @@ class DIV(XmlComponent): """ components = [] for c in self.components: - if isinstance(c, allowed_parents): + if isinstance(c, (allowed_parents,CAT)): pass elif wrap_lambda: c = wrap_lambda(c)