Finally found the difference between the two pmwiki.php files which
was causing the ability to hide tags/category-links via [[!(cat-
name)]] to not work correctly.
In pmwiki.php at "function MakeLink" around line 1164
- - - - - - - - - - - -
nonfunctioning
- - - - - - - - - - - -
if (is_null($txt)) {
$txt = preg_replace('/\\([^)]*\\)/','',$tgt);
if ($m[1]=='<:page>') {
$txt = preg_replace('!/\\s*$!', '', $txt);
$txt = preg_replace('!^.*[^<]/!', '', $txt);
}
- - - - - - - - - - - - - - - -
functioning properly
- - - - - - - - - - - - - - - -
if (is_null($txt)) {
$txt = preg_replace('/\\([^)]*\\)/','',$tgt);
if ($m[1]=='<:page>') $txt = preg_replace('!^.*[^<]/!','',$txt);
$txt = $txt;
}
- - - - - - - - - - - - - - - -
Kind regards,
Derek
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users