5 Mar
2004
5 Mar
'04
4:30 a.m.
On Thursday, March 4, 2004, at 10:14 PM, Paul Winkler wrote:
From OFS.Image.tag in zope 2.7.0:
if not 'border' in [ x.lower() for x in args.keys()]: result = '%s border="0"' % result
... that's been in there for about 3 years! If you want to force no border attribute, you can pass it a false value.
That's similar to mine: if not 'border' in map(string.lower, args.keys()): result = '%s border="0"' % result ...but yeah, CSS is better....