[pmwiki-users] Using links to like this in markup file:\\machine_name\dir\file.doc
Patrick R. Michaud
pmichaud at pobox.com
Tue Nov 22 08:47:37 CST 2005
On Tue, Nov 22, 2005 at 02:36:42PM -0000, Crisp, Steve [UK] wrote:
> Thanks for getting back to be so quickly. I found you have to add five
> slashes '/' (not four) to the last part of the php code below making the
> markup:
>
> Markup('file:\\\\', '<urllink',
> "/file:\\\\\\\\([^\\s<>\"{}|^`()[\\]']+)/e",
> "str_replace('\\\\\', '/', PSS('file://///$1'))");
No problem. :-)
> Next thing ... I noticed that when this markup is enclosed in [[ | ]] it
> does not work e.g. [[file:\\machine_name\dir\file.doc | This is my
> doc]]. Also the alternative markup [[This is my doc ->
> file:\\machine_name\dir\file.doc]] has the same issue.
Oh yeah. Change '<urllink' above to be '<links'.
Pm
More information about the pmwiki-users
mailing list