changeset 1571:8db7120ab81e

Fixed MoinMoinBugs/ReStructuredTextRelativeLinksBroken
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 18 Sep 2006 21:28:30 +0200
parents 8bfaae6fa0a5
children f6136eb3b021
files MoinMoin/parser/text_rst.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_rst.py	Mon Sep 18 21:21:55 2006 +0200
+++ b/MoinMoin/parser/text_rst.py	Mon Sep 18 21:28:30 2006 +0200
@@ -385,7 +385,7 @@
                 if '#' in refuri:
                     pagename, anchor = refuri.split('#', 1)
                     anchor = '#' + anchor
-                page = Page(self.request, pagename)
+                page = Page(self.request, wikiutil.AbsPageName(self.request, self.formatter.page.page_name, pagename))
                 node['refuri'] = page.url(self.request) + anchor
                 if not page.exists():
                     node['classes'].append('nonexistent')