From 71132017e7d20f4d970ca2b1869929fa8aa5420d Mon Sep 17 00:00:00 2001 From: helmutm Date: Sun, 1 Nov 2009 21:31:11 +0000 Subject: [PATCH] don't strip table attributes git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3617 fd906abe-77d9-0310-91a1-e0d9ade77398 --- util/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/html.py b/util/html.py index ae52a8b..aacdd28 100644 --- a/util/html.py +++ b/util/html.py @@ -27,7 +27,7 @@ from cybertools.text.lib.BeautifulSoup import BeautifulSoup, Comment validTags = ('b br div em font h1 h2 h3 i li ol p pre span strong ' 'table td tr u ul').split() -validAttrs = 'class style'.split() +validAttrs = 'class style border cellspacing cellpadding align'.split() validStyles = 'font-style font-weight'.split() validStyleParts = 'border padding'.split()