[pmwiki-users] \\L LinkPattern Replace in Markup Rules

Sebastian Siedentopf schlaefer at macnews.de
Tue Oct 18 07:39:08 CDT 2005


I want to do some (x)ajax stuff on a wiki and did some testing. First  
I just want to output the content of a wikipage and everything seems  
to be ok except the links. Every single word becomes a wiki link in  
the output.

The problem seems to be the \\L tag in the markup rules. Why do we  
the replace

  $MarkupRules[str_replace('\\L',$LinkPattern,$m['pat'])]=$m['rep'];

in the BuildMarkupRules() and not earlier (e.g in Markup())?

Sebastian




More information about the pmwiki-users mailing list