diff --git a/text_dokuwiki.py b/text_dokuwiki.py index bba5375..c6e08e9 100644 --- a/text_dokuwiki.py +++ b/text_dokuwiki.py @@ -66,6 +66,8 @@ class Formatter(FormatterBase): def interwikilink(self, on, interwiki='', pagename='', **kw): if on: + if interwiki == 'Self': + return self.pagelink(on, pagename, **kw) return '[[%s>%s|' % (interwiki, pagename) else: return ']]'