Ralf Schmitt wrote:
> On Mon, Feb 23, 2009 at 9:52 PM, Bjoern <[email protected]> wrote:
>
>
>
> 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?
>
Actually the treecleaner has nothing to do with the problem. There was a
bug in mwlib.rl which is fixed now.
But the handling of multi-paragraph blockquotes in mwlib.rl is a bit
awkward. To be precise the current solution is a little hackish: the
output is not a real blockquote but only left indented , the right
indentation of a "real" blockquote is missing. I hope this is not a problem.
Bjoern, why do you use multi-paragraph blockquotes anyway? Why not use
multiple single-paragraph blockquotes?
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
[email protected] http://www.brainbot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---