[pmwiki-users] Change in rendering behaviour of backticks
Petko Yotov
5ko at 5ko.fr
Fri Dec 1 05:26:11 CST 2017
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?
More information about the pmwiki-users
mailing list