[pmwiki-users] special link-markup prohibits anchors to work

Markus Heinzer markus.heinzer at runbox.com
Tue Jul 12 13:07:11 CDT 2011


Hi
Some time ago somebody helped me with the following code that urges 
links to wikipages display the title of the page even when not using 
"|+" (but the same behaviour).

Markup('[[title', '<[[|',
   "/(?>\\[\\[([^|\\]]+))\\s*]]/e",
   "Keep(MakeLink(\$pagename, PSS('$1'),
                  PageVar(MakePageName(\$pagename,PSS('$1')), '\$Title')
                ),'L')");

Now I have discovered that anchors don't work anymore when I put this 
code into my config.php.

Is there a possibility to modify this so that anchors work again?

thank you very much
Markus




More information about the pmwiki-users mailing list