[pmwiki-users] Minor markup request

Patrick R. Michaud pmichaud at pobox.com
Wed Oct 19 13:56:10 CDT 2005


On Wed, Oct 19, 2005 at 08:46:21PM +0200, malexism wrote:
> i mean a real link, witch the space is suppressed, like this :
> [[look : this link]]
> pmwiki do normaly : LookThisLink
> With the &nbsp mechanism, all old links in the wiki are bad...
> 
> >I think your best best is to do this sometime later in processing;
> >i.e., try '>links' (after all links are processed) instead of 'inline'.
> 
> Excuse me, this is too complex for me !

In your original message, you posted:

    Markup(' !', 'inline',
      '/ ([!:;?])/', 
      ' $1');

Change this to read

    Markup(' !', '>links',
      '/ ([!:;?])/',
      ' $1');

This will cause the space+punctuation to be replaced *after*
links have been processed, instead of when other inline markups
are processed (which is done before link processing).

Pm




More information about the pmwiki-users mailing list