mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-12 01:08:55 +00:00
Merge "Fix: Set default MathStyle to inlineDisplaystyle"
This commit is contained in:
commit
9a8455cec1
|
@ -112,7 +112,7 @@ abstract class MathRenderer {
|
|||
*/
|
||||
public static function getRenderer( $tex, $params = array(), $mode = 'png' ) {
|
||||
global $wgDefaultUserOptions, $wgMathEnableExperimentalInputFormats;
|
||||
$mathStyle = null;
|
||||
$mathStyle = 'inlineDisplaystyle'; // Set the default style
|
||||
if ( isset( $params['display'] ) ) {
|
||||
$layoutMode = $params['display'];
|
||||
if ( $layoutMode == 'block' ) {
|
||||
|
|
Loading…
Reference in a new issue