Monday, March 12, 2007, 8:23:12 PM, Patrick wrote:

>    Markup(':vspace', 'fulltext', 
>     '/<:vspace>/',
>     '<br />');

This gives double as many line spaces.
Perhaps because I also use

   $HTMLPNewline = '<br />';
   
This is needed to honour line breaks.

But at least your suggestion got something moving!
The following gives exactly the spaces as intuitively assumed:

   $HTMLPNewline = '<br />';
   Markup(':vspace', 'fulltext','/<:vspace>/','&nbsp;');

The resulting HTML is not the prettiest with all the <br /> and &nbsp;
invisible characters, but for the purpose quite good.

If I do not use $HTMLPNewline = '<br />'; and use

   Markup(':vspace', 'fulltext','/<:vspace>/','<br />');

then I get one line spacing too few.

Thanks for your help!


Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to