MDL-65759 library: Update php-css-parser to 8.3.0
[moodle.git] / lib / php-css-parser / CSSList / AtRuleBlockList.php
index a1ff8f8..24e79f0 100644 (file)
@@ -35,9 +35,11 @@ class AtRuleBlockList extends CSSBlockList implements AtRule {
                if($sArgs) {
                        $sArgs = ' ' . $sArgs;
                }
-               $sResult = "@{$this->sType}$sArgs{$oOutputFormat->spaceBeforeOpeningBrace()}{";
+               $sResult  = $oOutputFormat->sBeforeAtRuleBlock;
+               $sResult .= "@{$this->sType}$sArgs{$oOutputFormat->spaceBeforeOpeningBrace()}{";
                $sResult .= parent::render($oOutputFormat);
                $sResult .= '}';
+               $sResult .= $oOutputFormat->sAfterAtRuleBlock;
                return $sResult;
        }