From e833fed54079c6e19ab8413bb68209af3eaedc92 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 6 Oct 2008 22:51:50 +0000 Subject: [PATCH] (CreoleRule): Fix dirty block handling for the [[page]] and [[page|text]] rules. --- modules/creole.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/creole.pl b/modules/creole.pl index 25a89711..6c62274c 100644 --- a/modules/creole.pl +++ b/modules/creole.pl @@ -14,7 +14,7 @@ directory for your Oddmuse Wiki. =cut package OddMuse; -$ModulesDescription .= '

$Id: creole.pl,v 1.48 2008/10/06 22:21:18 leycec Exp $

'; +$ModulesDescription .= '

$Id: creole.pl,v 1.49 2008/10/06 22:51:50 as Exp $

'; # ....................{ CONFIGURATION }.................... @@ -259,7 +259,8 @@ sub CreoleRule { my $page_name = $2; my $link_text = $4 ? CreoleRuleRecursive($4, @_) : ''; - return GetPageOrEditLink($page_name, $link_text, 0, 1); + print GetPageOrEditLink($page_name, $link_text, 0, 1); + return ''; } #TODO: Handle interwiki links, here, as well, so as to permit embedding of #Creole syntax within interwiki link text. That's a bit more work, though; so