Fix: handling of array

In I94887f6ccb45072180a318776ae96aead8658a18 the array environment was missed.

Add the array environment in the same as matrix was added.

Bug: T380184
Change-Id: I92111829e7e93bc5abd40e01b6c036bbc01ee8a5
This commit is contained in:
physikerwelt 2024-11-25 17:15:39 +01:00
parent 4014491c39
commit cfe15c59b1
No known key found for this signature in database
GPG key ID: FCC793EFFA5FB13C
2 changed files with 3 additions and 3 deletions

View file

@ -329,8 +329,8 @@ class AMSMappings {
"Bmatrix" => [ 'array', null, '\\{', '\\}', 'c' ], "Bmatrix" => [ 'array', null, '\\{', '\\}', 'c' ],
"vmatrix" => [ 'array', null, '\\vert', '\\vert', 'c' ], "vmatrix" => [ 'array', null, '\\vert', '\\vert', 'c' ],
"Vmatrix" => [ 'array', null, '\\Vert', '\\Vert', 'c' ], "Vmatrix" => [ 'array', null, '\\Vert', '\\Vert', 'c' ],
'cases' => [ 'matrix', '{', '', 'left left', null, '.1em', null, 'cases' => [ 'matrix', '{', '', 'left left', null, '.1em', null, true ],
true ], 'array' => [ 'matrix' ]
]; ];
private const AMSSYMBOLDELIMITERS = [ private const AMSSYMBOLDELIMITERS = [
'ulcorner' => '\u231C', 'ulcorner' => '\u231C',

View file

@ -45,7 +45,7 @@ final class MMLFullCoverageTest extends MediaWikiUnitTestCase {
/** @var string */ /** @var string */
private static $GENERATEDEVALFILE = __DIR__ . "/MMLFullCoverageEval.json"; private static $GENERATEDEVALFILE = __DIR__ . "/MMLFullCoverageEval.json";
/** @var int[] */ /** @var int[] */
private static $SKIPPEDINDICES = [ 174, 175, 180 ]; private static $SKIPPEDINDICES = [];
/** @var bool */ /** @var bool */
private static $FILTERMML = true; private static $FILTERMML = true;