Followup to 09cee249: Fix failing Parsoid CI API tests
commit40c0abf21d2cc378de2f0b158d33fe5d6f17e78d
authorSubramanya Sastry <ssastry@wikimedia.org>
Tue, 28 Feb 2023 19:04:06 +0000 (28 13:04 -0600)
committerSubramanya Sastry <ssastry@wikimedia.org>
Tue, 28 Feb 2023 19:06:39 +0000 (28 13:06 -0600)
treec8ab4f9f4b5c80908c4763bd254baf34d32d1207
parent0929a01d9473dbb508fd927e4145396f09c325af
Followup to 09cee249: Fix failing Parsoid CI API tests

* Looks like there is an existing hack to pass through core converted
  HTML through Parsoid's pb2pb endpoint to adding required metadata.

  We should see if this can be eliminated in some fashion.

* But for now, fix up the previous patch to ensure this hack continues
  to apply when an invalid variant conversion is requested.

Change-Id: Ie5ef79a9f96643705b2baefd98fce68da9650828
includes/parser/Parsoid/LanguageVariantConverter.php