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

Hans design5 at softflow.co.uk
Sun Mar 16 17:10:12 CDT 2008


Sunday, March 16, 2008, 9:26:25 PM, Randy wrote:

> ## 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>";

change to

## 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>";


  ~Hans




More information about the pmwiki-users mailing list