diff --git a/src/Legacy/Common.php b/src/Legacy/Common.php index caee21ec..5a029325 100644 --- a/src/Legacy/Common.php +++ b/src/Legacy/Common.php @@ -24,7 +24,7 @@ protected function getTagValue($theObj, $keyName, $extraTextBefore = '', $extraT $value = trim($vct->nodeValue); if (strpos($value, '&') !== false) { //existe um & na string, então deve ser uma entidade - $value = html_entity_decode($value); + $value = html_entity_decode($value, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401); } return $extraTextBefore . $value . $extraTextAfter; }