Sorry, there is an omission in my snippet, please add this line:
$PageNameChars = '-[:alnum:]';
before "$MakePageNamePatterns = array("...
Petko
On 24/05/2019 20:56, Petko Yotov wrote:
You can define custom $MakePageNamePatterns rules near the top of
config.php, for example:
$MakePageNa
You can define custom $MakePageNamePatterns rules near the top of
config.php, for example:
$MakePageNamePatterns = array(
"/'|’|‘/" => '', # strip various apostrophes
"/[^$PageNameChars]+/" => ' ', # convert everything else to space
'/((^|[^-\\w])\\w)/' => 'cb_toupper
Here are links to a couple of screenshots showing the difference in the
links, depending on the type of apostrophe used in the link...
http://sghistory.com/PlainApostrophe.png
http://sghistory.com/CurvedApostrophe.png
David Murray
___
pmwiki-users ma
I'm having an issue with links that include apostrophes.
If I type [[I'm Home]], pmwiki removes both the apostrophe and the space
to create the link I'd expect: ImHome
If the link uses a curved apostrophe, pmwiki still removes both the
apostrophe and the space, but this time it changes the "m