Skip to content

Commit

Permalink
Merge pull request #17 from woecifaun/patch-1
Browse files Browse the repository at this point in the history
Fix @Keyframes double quotes
  • Loading branch information
natxet committed Sep 25, 2015
2 parents 4026975 + 7ee51a1 commit 92de3fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CssMin.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public function __toString()
}
elseif ($class === "CssAtKeyframesStartToken")
{
$r[] = $indent . "@keyframes \"" . $token->Name . "\"";
$r[] = $indent . "@keyframes " . $token->Name;
$r[] = $this->indent . $indent . "{";
$level++;
}
Expand Down Expand Up @@ -1840,7 +1840,7 @@ public function __toString()
}
elseif ($class === "CssAtKeyframesStartToken")
{
$r[] = $indent . "@keyframes \"" . $token->Name . "\" {";
$r[] = $indent . "@keyframes " . $token->Name . " {";
$level++;
}
elseif ($class === "CssAtMediaStartToken")
Expand Down Expand Up @@ -4467,7 +4467,7 @@ public function __toString()
{
return "@-moz-keyframes " . $this->Name . " {";
}
return "@" . $this->AtRuleName . " \"" . $this->Name . "\"{";
return "@" . $this->AtRuleName . " " . $this->Name . "{";
}
}

Expand Down

0 comments on commit 92de3fe

Please sign in to comment.