--- MoinMoin/formatter/text_gedit.py.orig	2005-12-04 07:37:54.000000000 -0500
+++ MoinMoin/formatter/text_gedit.py	2006-01-12 14:34:46.000000000 -0500
@@ -140,13 +140,13 @@
 
     # Change nesting: sub lists are no longer within the <li> tags
     
-    def number_list(self, on, type=None, start=None):
+    def number_list(self, on, type=None, start=None, **kw):
         li = ""
         if self._in_li: # close <li>
             li = self.listitem(False)
         return li + text_html.Formatter.number_list(self, on, type, start)
 
-    def bullet_list(self, on):
+    def bullet_list(self, on, **kw):
         li = ""
         if self._in_li: # close <li>
             li = self.listitem(False)
@@ -197,7 +197,7 @@
         attrs = text_html.Formatter._checkTableAttr(self, attrs, prefix)
         return self._style_to_attributes(attrs)
 
-    def table(self, on, attrs=None):
+    def table(self, on, attrs=None, **kw):
         """ Create table
 
         @param on: start table
@@ -221,29 +221,31 @@
 
         return ''.join(result)    
 
-    def comment(self, text):
+    def comment(self, text, **kw):
         text = text.rstrip() # workaround for growing amount of blanks at EOL
         return self.preformatted(1, attr={'class': 'comment'}) + text + self.preformatted(0)
 
-    def underline(self, on):
+    def underline(self, on, **kw):
         tag = 'u'
         if on:
             return self.open(tag)
         return self.close(tag)
                     
-    def strong(self, on):
+    def strong(self, on, **kw):
         tag = 'b'
         if on:
             return self.open(tag)
         return self.close(tag)
 
-    def emphasis(self, on):
+    def emphasis(self, on, **kw):
         tag = 'i'
         if on:
             return self.open(tag)
         return self.close(tag)
 
-    def code(self, on, css=None):
+    def code(self, on, css=None, **kw):
+        if not css and kw.has_key('css_class'):
+            css=kw['css_class']
         tag = 'tt'
         # Maybe we don't need this, because we have tt will be in inlineStack.
         self._in_code = on
