You are right, thank you, and a happy kiwi summer to you Simon
On 7 January 2012 16:56, John Rankin <john.ran...@affinity.co.nz> wrote: > It's because the "hyphens" aren't in fact hyphens, but special characters. > Perhaps the anchor was copied and pasted from another place that > "smartens" what an author writes, such as Microsoft Word? > > To get the anchor to work as posted, I had to delete the "hyphen" and > replace it with a - > > > I'm looking at stdmarkup.php > > ## [[#anchor]] > > Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/e', > > "Keep(TrackAnchors('$1') ? '' : \"<a name='$1' id='$1'></a>\", 'L')"); > > > > and http://www.w3.org/TR/html4/types.html#type-name > > > > I'm trying to get an anchor such as > > < > http://ttc.org.nz/pmwiki/pmwiki.php/TararuaFootprints/MangatainokaValley> > > [[#Mangatainoka–Herepai–Ruapae]] > > to work, (seems reasonable to me). > > > -- > John Rankin > > -- ____ http://kiwiwiki.co.nz
_______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel