[Zope-dev] Image.tag() no longer publishable?
Marc Lindahl
marc at bowery.com
Thu Mar 4 23:30:23 EST 2004
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....
More information about the Zope-Dev
mailing list