[Moin-user] Why a paragraph after a macro call?
Jim Wight
j.k.wight at ncl.ac.uk
Tue May 10 07:06:53 EDT 2005
On Mon, 2005-05-09 at 20:23, Jim Wight wrote:
> Why is a new paragraph started after a macro call? It makes it
> impossible to write a macro that inserts output into a line. For
> example,
>
> [[Verbatim(This is verbatim text)]], whereas this isn't.
>
> results in the output:
>
> This is verbatim text
>
> , whereas this isn't.
>
> from the generated HTML:
>
> This is verbatim text<p>, whereas this isn't. </p>
It's not as consistent as I first thought. It doesn't always happen. For
example:
----
[[Verbatim(This is verbatim text)]], whereas this isn't.
generates
<hr>
<p> This is verbatim text, whereas this isn't. </p>
while
----
[[Verbatim(This is verbatim text)]], whereas this isn't.
generates
<hr>
<p> </p>
This is verbatim text<p>, whereas this isn't. </p>
Shouldn't the same HTML (preferably as in the first case) be generated
for both cases?
Jim
More information about the Moin-user
mailing list