We don't need anything from the marker. The title is outside.

This commit is contained in:
Platonides 2011-10-07 21:05:22 +00:00
parent 570b984533
commit 924d12407e

View file

@ -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;
}