]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
beautify_urlpath: add ./ before checking for /index.html
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 21 Dec 2008 15:23:59 +0000 (15:23 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 21 Dec 2008 15:23:59 +0000 (15:23 +0000)
commit0844bd0b1567404243d95e616d3c7526e922822d
treeb0029810a0a5ceadbaa712f7d582f22c183c96fe
parent95b3bbbf7c786cc9e1dd7d7925ac75a0f525affd
beautify_urlpath: add ./ before checking for /index.html

This fixes a bug: when a page links to its own #comments anchor you would
get a link like "index.html#comments" rather than "./#comments".
IkiWiki.pm