diff --git a/src/Property/Charset.php b/src/Property/Charset.php index 26e1b250..068fb368 100644 --- a/src/Property/Charset.php +++ b/src/Property/Charset.php @@ -66,7 +66,7 @@ public function setCharset($sCharset) */ public function getCharset() { - return $this->oCharset->getString(); + return preg_replace('/;$/', '', $this->oCharset->getString()); } /**