On Mon, Feb 23, 2009 at 9:52 PM, Bjoern <[email protected]> wrote: > > Dear all, > > I've got a problem with rendering multiline <blockquotes>. In > principle the following mediawiki text results in the desired result: > > <blockquote> > line 1 > > line 2 > </blockquote> > > but when this is rendered to pdf, only the 2nd line is blockquoted.
this seems to work for me using the latest mwlib/mwlib.rl (i.e. it produces a blockquoted "line1 line 2", just like my mediawiki installation does... > Plenty of examples for the various behaviours here: > http://www.ict4e.net/wiki/Collection/issues > It look like our tree cleaner code moves the paragraph nodes to the outer paragraph: In [3]: uparser.simpleparse("<blockquote><div>bla\n\nblubb</div></blockquote>") 2009-02-25T13:22:09 parser.info >> Parsing "'unknown'" Article 'unknown': 1 children Paragraph '': 1 children Style '-': 1 children TagNode u'div': 2 children Paragraph '': 1 children u'bla' Node '': 1 children u'blubb' Volker? Regards, - Ralf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
