We don't need anything from the marker. The title is outside.
This commit is contained in:
parent
570b984533
commit
924d12407e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue