[pmwiki-users] allow apostrophe in $WikiTitle?

Tegan Dowling tmdowling at gmail.com
Wed Jun 27 10:25:58 CDT 2007


On 6/27/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Wed, Jun 27, 2007 at 07:45:23AM -0500, Tegan Dowling wrote:
> > Hi, all:
> >
> > In my local/congig.php, I have
> >
> >       // $WikiTitle is the name that appears in the browser's title bar.
> >               $WikiTitle = 'My Site Name Here';
> >       //      allow use in wikipages - http://www.pmwiki.org/wiki/PmWiki/PageVariables
> >               $FmtPV['$WikiTitle'] = '$GLOBALS["WikiTitle"]';
> >
> >
> > Is there an escape for the apostrophe so that I could have
> >               $WikiTitle = 'My Site's Name Here';   ?
>
> Ideally:
>
>   $WikiTitle = 'My Site&#039;s Name Here';

Oh, ah!  Here I was looking for a programming-type work-around.  duh.
Thank you!



More information about the pmwiki-users mailing list