Skip to content

Commit b014538

Browse files
committed
Merge branch 'update/get-css-charset' into testing-2022
2 parents bd7e3b9 + 7c827f1 commit b014538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Property/Charset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function setCharset($sCharset)
6666
*/
6767
public function getCharset()
6868
{
69-
return $this->oCharset->getString();
69+
return preg_replace('/;$/', '', $this->oCharset->getString());
7070
}
7171

7272
/**

0 commit comments

Comments
 (0)