[pmwiki-users] Pu
DaveG
pmwiki at solidgone.com
Mon Jul 28 22:17:06 CDT 2008
> 2] Quotes within the $2 text now appear in the final output as \" rather
> than simply ". I've tried moving the $2 around to no avail. Any
> suggestions there?
Using PSS as described here removed the backslashes before the quotes. I
now have this (with a few tweaks):
Markup('^Country:', 'fulltext',
'/^Country\\s+([a-zA-Z][a-zA-Z]):(.*?)>><</isme',
"Keep('<div class=\'country\'
style=\'background-image:url(\"'.\$GLOBALS['PubDirUrl'].'/skins/dropdown/flags/'.
strtolower($1). '.png\")\'>'. PSS('$2'). '</div>')"
);
> 1] What does the first '<:block>' do? Didn't appear to do anything.
Still interested in the intent of this.
Thanks for pointing me in the right direction.
~ ~ Dave
More information about the pmwiki-users
mailing list