From ee744a7e2338db3f2857f60a0a2764490f463306 Mon Sep 17 00:00:00 2001 From: helmutm Date: Wed, 20 Jan 2010 07:59:59 +0000 Subject: [PATCH] allow colspan and rowspan attributes in HTML git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3689 fd906abe-77d9-0310-91a1-e0d9ade77398 --- util/html.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/html.py b/util/html.py index ddce46a..7bc3992 100644 --- a/util/html.py +++ b/util/html.py @@ -27,7 +27,8 @@ from cybertools.text.lib.BeautifulSoup import BeautifulSoup, Comment validTags = ('a b br div em font h1 h2 h3 i li ol p pre span strong ' 'table td tr u ul').split() -validAttrs = 'align border cellpadding cellspacing class href style title'.split() +validAttrs = ('align border cellpadding cellspacing class colspan href rowspan ' + 'style title').split() validStyles = 'font-style font-weight'.split() validStyleParts = 'border padding'.split()