[pmwiki-users] emty paragraph in groupheader

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 9 09:36:47 CST 2006


On Thu, Mar 09, 2006 at 02:57:00PM +0100, noskule wrote:
> Patrick R. Michaud schrieb:
> >On Wed, Mar 08, 2006 at 07:46:07PM +0100, noskule wrote:
> >>If in a groupheader definitions are made, but no content, pmwiki 
> >>prdouces an emty paragrap. Could this be changed so that a paragraph 
> >>just will be made if content is a avalible? 
> >
> http://pmwiki.org/wiki/NoskuleTestGroup/HomePage

Try the following in your local/config.php and let me
know if it works (and if anything breaks):

    Markup('^<:', '>block',
      '/^<:([^>]+)>|^(?=(?>(\\s+|%[A-Za-z][-,=:#\\w\\s\'"]*%|%%)*)\\S)/e',
      "Block('$1')");

If it works out I may be able to put it into the distribution...
but it needs a bit more testing first.

I have this installed on the test page given above
and it appears to work.

Pm




More information about the pmwiki-users mailing list