mirror of
https://github.com/arsenetar/PrismHighlight.git
synced 2024-12-06 18:59:01 +00:00
Fix issue with all languages being set to "markup"
This commit is contained in:
parent
03dbc1f963
commit
3804f9711a
@ -24,7 +24,7 @@ if ( ! defined( 'MEDIAWIKI' ) )
|
||||
public static function parserHook($text, $args = array(), $parser) {
|
||||
$code_classes = '';
|
||||
$pre_args ='';
|
||||
if(!isset($args['lang']) || !isset($args['language']))
|
||||
if(!isset($args['lang']) && !isset($args['language']))
|
||||
$args['lang'] = 'markup';
|
||||
foreach( $args as $key => $value ){
|
||||
switch ($key) {
|
||||
|
Loading…
Reference in New Issue
Block a user