diff --git a/browser/icons/arrow_left.png b/browser/icons/arrow_left.png new file mode 100644 index 0000000..5dc6967 Binary files /dev/null and b/browser/icons/arrow_left.png differ diff --git a/browser/icons/arrow_right.png b/browser/icons/arrow_right.png new file mode 100644 index 0000000..b1a1819 Binary files /dev/null and b/browser/icons/arrow_right.png differ diff --git a/browser/icons/arrow_up.png b/browser/icons/arrow_up.png new file mode 100644 index 0000000..1ebb193 Binary files /dev/null and b/browser/icons/arrow_up.png differ diff --git a/util/html.py b/util/html.py index 035da0e..e3950b1 100644 --- a/util/html.py +++ b/util/html.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2010 Helmut Merz helmutm@cy55.de +# Copyright (c) 2012 Helmut Merz helmutm@cy55.de # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,18 +18,16 @@ """ Strip HTML tags and other HTML-related utilities. - -$Id$ """ from cybertools.text.lib.BeautifulSoup import BeautifulSoup, Comment from cybertools.text.lib.BeautifulSoup import Declaration, NavigableString -validTags = ('a b br div em font h1 h2 h3 i li ol p pre span strong ' +validTags = ('a b br div em font h1 h2 h3 i img li ol p pre span strong ' 'table td tr u ul').split() -validAttrs = ('align border cellpadding cellspacing class colspan ' - 'href rowspan style title width').split() +validAttrs = ('align alt border cellpadding cellspacing class colspan ' + 'href rowspan src style target title width').split() validStyles = 'font-style font-weight'.split() validStyleParts = 'border padding'.split()