aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/content/WikiTextStructure.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/content/WikiTextStructure.php b/includes/content/WikiTextStructure.php
index 26c6f07d6b4b..697c13bc6e6e 100644
--- a/includes/content/WikiTextStructure.php
+++ b/includes/content/WikiTextStructure.php
@@ -153,10 +153,7 @@ class WikiTextStructure {
if ( $this->allText !== null ) {
return;
}
- $text = $this->parserOutput->getText( [
- 'enableSectionEditTokens' => false,
- 'allowTOC' => false,
- ] );
+ $text = $this->parserOutput->getRawText();
if ( $text === '' ) {
$this->allText = "";
// empty text - nothing to seek here