diff MoinMoin/formatter/text_html.py @ 603:da3a8a125fdb

css class 'attachment' for attached images. todo: use it in css.
author tw@waldmann-edv.de
date Tue, 25 Apr 2006 09:35:23 +0200
parents 6c572f52899f
children 19ef5f9fff84
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Mon Apr 24 21:41:30 2006 +0200
+++ b/MoinMoin/formatter/text_html.py	Tue Apr 25 09:35:23 2006 +0200
@@ -656,7 +656,8 @@
                 linktext % {'filename': self.text(fname)})
         return self.image(
             title="attachment:%s" % url,
-            src=AttachFile.getAttachUrl(pagename, filename, self.request, addts=1))
+            src=AttachFile.getAttachUrl(pagename, filename, self.request, addts=1),
+            css="attachment")
     
     def attachment_drawing(self, url, text, **kw):
         _ = self.request.getText