pull center nodes out of preformatted nodes
authorvolker@brainbot.com
Wed Nov 19 12:32:21 2008 +0100 (6 weeks ago)
changeset 181008aa778bc31c
parent 18090d8c34ee6d52
child 181177cbf7f0ae7c
pull center nodes out of preformatted nodes
mwlib/treecleaner.py
       1 --- a/mwlib/treecleaner.py	Tue Nov 18 16:24:44 2008 +0100
       2 +++ b/mwlib/treecleaner.py	Wed Nov 19 12:32:21 2008 +0100
       3 @@ -82,6 +82,7 @@
       4                                    #Paragraph:[Paragraph],
       5                                    DefinitionList:[Paragraph],
       6                                    Blockquote:[PreFormatted],
       7 +                                  Center:[PreFormatted],
       8                                    }
       9          self.forbidden_parents[Source].append(PreFormatted)
      10