changeset 530:ab842e426102

allow width attribute for text_gedit formatter imported from: moin--main--1.5--patch-534
author Thomas Waldmann <tw@waldmann-edv.de>
date Fri, 07 Apr 2006 19:41:47 +0000
parents 20f8bda12a7b
children f6a74f85b9d7
files ChangeLog MoinMoin/formatter/text_gedit.py
diffstat 2 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 07 19:23:56 2006 +0000
+++ b/ChangeLog	Fri Apr 07 19:41:47 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-04-07 20:41:47 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-534
+
+    Summary:
+      allow width attribute for text_gedit formatter
+    Revision:
+      moin--main--1.5--patch-534
+
+    allow width attribute for text_gedit formatter
+    
+
+    modified files:
+     ChangeLog MoinMoin/formatter/text_gedit.py
+
+
 2006-04-07 20:23:56 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-533
 
     Summary:
--- a/MoinMoin/formatter/text_gedit.py	Fri Apr 07 19:23:56 2006 +0000
+++ b/MoinMoin/formatter/text_gedit.py	Fri Apr 07 19:41:47 2006 +0000
@@ -152,9 +152,9 @@
         return self._style_to_attributes(attrs)
 
     _allowed_table_attrs = {
-        'table': ['class', 'id', 'style', 'bgcolor', ],
-        'row': ['class', 'id', 'style', 'bgcolor', ],
-        '': ['colspan', 'rowspan', 'class', 'id', 'style', 'bgcolor', ],
+        'table': ['class', 'id', 'style', 'bgcolor', 'width', ],
+        'row': ['class', 'id', 'style', 'bgcolor', 'width', ],
+        '': ['colspan', 'rowspan', 'class', 'id', 'style', 'bgcolor', 'width', ],
     }
 
     def table(self, on, attrs=None, **kw):