Commit 98c75d0a authored by Andreas Jung's avatar Andreas Jung

Image.tag() no longer produces a border="0" attribute

parent c8e62d8d
......@@ -225,13 +225,11 @@ class ImageTests(FileTests):
def testStr(self):
self.assertEqual(str(self.file),
('<img src="http://foo/file" alt="" title="" height="16" width="16" '
'border="0" />'))
('<img src="http://foo/file" alt="" title="" height="16" width="16" />'))
def testTag(self):
self.assertEqual(self.file.tag(),
('<img src="http://foo/file" alt="" title="" height="16" width="16" '
'border="0" />'))
('<img src="http://foo/file" alt="" title="" height="16" width="16" />'))
def testViewImageOrFile(self):
pass # dtml method,screw it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment