Fix links generated by preprocessor directives when previewing.
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 24 Feb 2008 21:37:11 +0000 (16:37 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 24 Feb 2008 21:37:11 +0000 (16:37 -0500)
commitbd55d276b3367e2c1792ea868d6e868cc26e2203
tree29a7adb65aaa6d4be042de0008843d65fe1648a1
parent2a802c1518d2ef9b4340961c173b5b2d111c499a
Fix links generated by preprocessor directives when previewing.

As was already done for linkfication, links generated in a prevew page
are relative to the top of the wiki, so it has to be told that the destpage
is there.

I was using "" to indicate this, but that may confuse some preprocessor
plugins, which treat parameters with an empry value specially (sparkline is one
such). Instead, use "/", which is more accurate anyway and works just as well.
IkiWiki/CGI.pm
debian/changelog
po/ikiwiki.pot