web: Remove file: scheme from relative links.
authorWerner Koch <wk@gnupg.org>
Fri, 28 Feb 2014 13:56:19 +0000 (14:56 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 28 Feb 2014 13:56:19 +0000 (14:56 +0100)
commitef511dacf4738adb878dc9291b6b284732962d62
tree6a215700136bd501a8bc5f2a4876bafde9929942
parentb31bfbd2a4cd81b95f69d2b246777a5fb078c05c
web: Remove file: scheme from relative links.

Due to a regression in org-mode, links in the form

  file:../foo/bar.org::a

were rendered as

  <a href="file:///home/user/project/foo/bar.html">

and editing such a link always expanded it to an absolute name.  The
workaround I found is to leave out the file: scheme and use

  ../foo/bar.org::a

instead.  This works as expected and creates

  <a href="../foo/bar.html#a">
web/aegypten/index.org
web/aegypten2/index.org
web/documentation/guides.org
web/documentation/howtos.org
web/related_software/libassuan/index.org
web/related_software/libgpg-error/index.org
web/related_software/libksba/index.org
web/related_software/pinentry/index.org
web/related_software/swlist.org