From 570b98453383a0e7c581a5550838a85a7c232de3 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 7 Oct 2011 21:00:06 +0000 Subject: [PATCH] Forgot to commit this file in r99250. --- includes/parser/ParserOutput.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 3e5a3f28f5..1a436201fa 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -158,6 +158,8 @@ class ParserOutput extends CacheTime { if ( $this->mEditSectionTokens ) { return preg_replace_callback( ParserOutput::EDITSECTION_REGEX, array( &$this, 'replaceEditSectionLinksCallback' ), $this->mText ); + } else { + return preg_replace( ParserOutput::EDITSECTION_REGEX, '\3', $this->mText ); } return $this->mText; } -- 2.20.1