Skip to content

Commit

Permalink
Merge "Bump wikimedia/parsoid to 0.20.0-a10"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Jun 22, 2024
2 parents 2474335 + bc27143 commit ed919c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"wikimedia/minify": "2.7.0",
"wikimedia/normalized-exception": "1.0.1",
"wikimedia/object-factory": "5.0.1",
"wikimedia/parsoid": "0.20.0-a8",
"wikimedia/parsoid": "0.20.0-a10",
"wikimedia/php-session-serializer": "2.0.1",
"wikimedia/purtle": "1.0.8",
"wikimedia/relpath": "4.0.0",
Expand Down
2 changes: 0 additions & 2 deletions includes/Rest/Handler/Helper/HtmlInputTransformHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,12 +509,10 @@ public function setOriginal( $rev, $originalRendering ) {
}

if ( $originalRendering->parsoid !== null ) {
// @phan-suppress-next-line PhanTypeMismatchArgumentNullable Silly Phan, we just checked.
$this->transform->setOriginalDataParsoid( $originalRendering->parsoid );
}

if ( $originalRendering->mw !== null ) {
// @phan-suppress-next-line PhanTypeMismatchArgumentNullable Silly Phan, we just checked.
$this->transform->setOriginalDataMW( $originalRendering->mw );
}
}
Expand Down

0 comments on commit ed919c1

Please sign in to comment.