[pmwiki-users] Change in rendering behaviour of backticks

Steve Glover Steve.Glover at jisc.ac.uk
Fri Dec 1 05:54:13 CST 2017


Many thanks!

Cheers

Steve

> -----Original Message-----
> From: pmwiki-users [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf
> Of Petko Yotov
> Sent: 01 December 2017 11:26
> To: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Change in rendering behaviour of backticks
> 
> Thanks for reporting the bug, should be fixed in 2.2.106 (just released).
> 
> If you cannot immediately upgrade, the following code in config.php should
> work just as well:
> 
>    Markup('`wikiword', '<wikilink',
>      "/`(($GroupPattern([\\/.]))?($WikiWordPattern))/",
>      "MarkupNoWikiWord");
>    function MarkupNoWikiWord($m) { return Keep($m[1]); }
> 
> Petko
> 
> --
> PmWeekly Blog  :  http://www.pmwiki.org/News If you upgrade :
> http://www.pmwiki.org/Upgrades
> 
> 
> On 01/12/2017 11:17, Steve Glover wrote:
> > When I first started using PmWiki, I used  a whitelist to prevent
> > mixed-case words turning into links (this made sense as it was a
> > non-technical website that had very few such words).
> >
> > Then, when I used PmWiki for a more technical site, we had an
> > indeterminate number of CamelCase words so we started using backticks
> > instead.
> >
> > However, in recent weeks the backticks have started appearing in the
> > site's content.
> >
> > Is there a way, please, that we can keep the backticks to mark
> > non-WikiWords but not have them render on screen?
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list