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


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to