[pmwiki-users] Problem with IncludeWikiPage recipe

Mindy Scollo mscollo at gmail.com
Mon Mar 5 00:09:27 CST 2007


I tried changing this:

Markup('includewikipage', 'directives',
          "/\\(:includewikipage\\s+(http:[^$UrlExcludeChars]*?)\\s*:\\)/e",
          "PRR().implode('',file(str_replace('&','&','$1')))");

to this:

Markup('includewikipage', 'directives',
          "/\\(:includewikipage\\s+(http:[^$UrlExcludeChars]*?)\\s*:\\)/e",
          "PRR().implode('<br>',file(str_replace('&amp;','&','$1')))");

and it now produces three line breaks where there should only be one.
Anyone see where the problem is coming from? Thanks.



More information about the pmwiki-users mailing list