[Moin-user] <p> placement and nesting problem

Samuele Pedroni pedroni at inf.ethz.ch
Fri May 10 09:40:02 EDT 2002


Hi,

I have just installed MoinMoin 0.11,
it seems that both the html and xml formatter
emit <p> at odd places

== h2 ==
para

HTML:

<p><a name=a><H1>1 h2</H1>

para

XML:

<p><anchor name="head-bf1c365741a4bfb5fee5c3150335ab4f867a4d9a"/><s2
title="h2">

para </p></s2></s1>

Even putting a blank line beetween the heading and "para" does not solve the
xml
nesting problem and there is still a spurious <p> in front of <h2> in html.

The problem is in the logic that calls formatter.paragraph in the parser,
namely when parser._check_p is called ...

I need this to work better. What should I do?

I'm likely able to hack my local version. Should I produce a patch
for general use. What is the expected development wrt
 this kind of issues, timeline?

Thanks, Samuele Pedroni.










More information about the Moin-user mailing list