mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 10:21:31 +00:00
Merge "Fix MMLGenerationParserTest creating HTML file"
This commit is contained in:
commit
9450bb29f1
|
@ -284,12 +284,14 @@ class BaseParsing {
|
|||
$styleAttr = [ "maxsize" => "1.2em", "minsize" => "1.2em" ];
|
||||
}
|
||||
|
||||
/* @phan-suppress-next-line SecurityCheck-DoubleEscaped */
|
||||
$frac = new MMLmfrac( '', $attrs );
|
||||
} else {
|
||||
// NodeUtil_js_1.default.setProperties(frac, { displaystyle: false,
|
||||
// scriptlevel: styleDigit - 1 });
|
||||
// tbd add props
|
||||
$frac = new MMLmfrac( '', $attrs );
|
||||
/* @phan-suppress-next-line SecurityCheck-DoubleEscaped */
|
||||
$frac = new MMLmfrac( '', $attrs );
|
||||
$styleAttr = [ "maxsize" => "1.2em", "minsize" => "1.2em" ];
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ final class MMLGenerationParserTest extends MediaWikiUnitTestCase {
|
|||
private static $FILTERSTART = 0;
|
||||
private static $FILTERLENGTH = 50;
|
||||
|
||||
private static $GENERATEHTML = true;
|
||||
private static $GENERATEHTML = false;
|
||||
private static $GENERATEDHTMLFILE = __DIR__ . "/MMLGenerationParserTest-Output.html";
|
||||
|
||||
protected function setUp(): void {
|
||||
|
|
Loading…
Reference in a new issue