From 56f2a66295ecdb489a2153106f70f722f939050b Mon Sep 17 00:00:00 2001 From: "H. C. Kruse" Date: Sun, 30 Jun 2024 11:55:24 +0200 Subject: [PATCH 1/2] fix: Fix css grid --- includes/StylePropertySanitizerExtender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/StylePropertySanitizerExtender.php b/includes/StylePropertySanitizerExtender.php index 57cd70e..b4bf77e 100644 --- a/includes/StylePropertySanitizerExtender.php +++ b/includes/StylePropertySanitizerExtender.php @@ -222,7 +222,7 @@ class StylePropertySanitizerExtender extends StylePropertySanitizer { $var = new FunctionMatcher( 'var', new VarNameMatcher() ); - $props = []; + $props = parent::cssGrid1( $matcherFactory ); $comma = $matcherFactory->comma(); $customIdent = $matcherFactory->customIdent( [ 'span' ] ); $lineNamesO = Quantifier::optional( new BlockMatcher( From d379feea2c281bef51cc22ec2fcf3ea0275c0f9d Mon Sep 17 00:00:00 2001 From: "H. C. Kruse" Date: Sun, 30 Jun 2024 11:55:52 +0200 Subject: [PATCH 2/2] dist: Bump version --- composer.json | 2 +- extension.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 14e6010..e3f3292 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "octfx/template-styles-extender", - "version": "1.2.1", + "version": "1.2.2", "type": "mediawiki-extension", "description": "Extends TemplateStyles with new CSS properties", "homepage": "http://www.mediawiki.org/wiki/Extension:TemplateStylesExtender", diff --git a/extension.json b/extension.json index 9662991..6b80668 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "TemplateStylesExtender", - "version": "1.2.1", + "version": "1.2.2", "author": [ "[https://www.mediawiki.org/wiki/User:Octfx Octfx]" ],