Skip to content

Commit

Permalink
Merge pull request #629 from renatoakaboci/master
Browse files Browse the repository at this point in the history
Ajustes entidades HTML - PHP 7.4.x
  • Loading branch information
robmachado authored Jan 14, 2025
2 parents fd37946 + 1f6dd53 commit c572dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Legacy/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c572dc6

Please sign in to comment.