From 924d12407e329c1134db517932b59d3504df90f5 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 7 Oct 2011 21:05:22 +0000 Subject: [PATCH] We don't need anything from the marker. The title is outside. --- includes/parser/ParserOutput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 1a436201fa..d7a674cd96 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -159,7 +159,7 @@ class ParserOutput extends CacheTime { return preg_replace_callback( ParserOutput::EDITSECTION_REGEX, array( &$this, 'replaceEditSectionLinksCallback' ), $this->mText ); } else { - return preg_replace( ParserOutput::EDITSECTION_REGEX, '\3', $this->mText ); + return preg_replace( ParserOutput::EDITSECTION_REGEX, '', $this->mText ); } return $this->mText; } -- 2.20.1