From: Platonides Date: Fri, 7 Oct 2011 21:05:22 +0000 (+0000) Subject: We don't need anything from the marker. The title is outside. X-Git-Tag: 1.31.0-rc.0~27199 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=924d12407e329c1134db517932b59d3504df90f5;p=lhc%2Fweb%2Fwiklou.git We don't need anything from the marker. The title is outside. --- 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; }