[pmwiki-users] How to include an apostrophe in a page description

Randy randy at brownragfilms.com
Sun Mar 16 16:26:25 CDT 2008


How do I include an apostrophe in a page description?

1. I'm using the page description for a tool tip. My config.php has  
this:

## Make tool tips out of page description, or if none exists, the title
$FmtPV['$DescriptionT'] = '@$page["description"] ?   
$page["description"] : PageVar($pn, "\$Title")';
$LinkPageExistsFmt = "<a class='wikilink' title='{\$DescriptionT}'  
href='\$LinkUrl'>\$LinkText</a>";

2. I put this markup on a page: (:description my page's description:)

3. What appears is this tool tip:  "my page" (apparently the  
apostrophe ends the description.)

What I really want is to use markup like:

(:Summary: my summary text:)(:description {$FullName}: {$:Summary}:)

and also:

(:Summary: {AnotherPage$:Summary}:)(:description {$FullName}:  
{$:Summary}:)

Randy




More information about the pmwiki-users mailing list