[pmwiki-users] $FmtP and global variable substitutions nit
dan mcmullen
bang at pacific.net
Fri Jun 10 13:20:51 CDT 2005
in FmtPageName(), it seems that the way '$Var' => 'Value' substitutions
are recorded in $FmtP also matches any instances '$VarSuffix', turning
them into 'ValueSuffix'. this effectively disables substitution of any
global variables which happen to have a prefix in $FmtP (eg '$TitleX').
would it make sense to add '\b' at the end of the $FmtP patterns?
enjoy! /dan
--
dan mcmullen, ca, usa be easy - be !
More information about the pmwiki-users
mailing list