On 26 Jul 2007 10:34:35 +1200, John Rankin <[EMAIL PROTECTED]> wrote: > Turning heading text into an anchor guaranteed to be valid would also need > a bit of care; eg > > !!!Christian Ridderström > > would need to turn the ö into something else,
Maybe there's some regular-expression magic that can do that. > I think. [[#h_numbers]] > would be easier *and* safer. It might be easier, but it would be next-to-worthless to use for linking to a document section, except perhaps for a dynamic table of contents. A link like [[SomePage#h_123]] would stop working when someone inserts another heading, making it pointless to create such a link. Using numbers is fine, but once an anchor exists the number needs to remain the same when more headings are added to the page. Hagan _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users