> 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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to