[Pmwiki-users] Another interlink-pattern issue
Paul Williams
paul
Thu Jan 8 18:07:42 CST 2004
Perhaps what is needed is a markup for weird stuff,
like XML's CTEXT markup...
[URI[http://www.reallylong.org/]]weird||poo||poo||URI-]]
the perl5 for this might be:
s/\[URI\[(.*)\]\]/<a href="$1">$1<\/a>/;
turning the above into
<a
href=http://www.reallylong.org/]]weird||poo||poo||URI->http://www.reallylong.org/]]weird||poo||poo||URI-</a>
--- Christian_Ridderström <chr at home.se> wrote:
> On 9 Jan 2004, John Rankin wrote:
>
> > ...
> >
> > I noticed that the problem is no longer there at
> pmichaud.com... so I
> > guess you have removed the '|' from
> $UrlPathPattern, is that it?
> >
> > Btw, the '|' do appear in some URIs I get sent to,
> especially by certain
> > automatic mail software :-( these are very
> annoying because only a part
> > of the URI is then recognized as a URI.
> >
> >
> >
> > Do these have || or just | -- might it be possible
> to allow | in a URI
> > but treat || as a table delimiter?
>
> I can only remember seing single '|'... but I'm not
> certain. There should
> be far less URIs with double '|' at any rate.
>
> /Christian
>
> --
> Dr. Christian Ridderström, +46-8-768 39 44
> http://www.md.kth.se/~chr
>
>
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
>
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
>
More information about the pmwiki-users
mailing list