X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=13a0fce739768900e76644b92ae6df18134708f4;hp=64ac4a9660af8fd81e9d710b354aabeb447ae24e;hb=3bcb292dd0b55177499600c226d5d2aa8a932ce7;hpb=a9fe1c6c31d8b6cbf669d38a8be83aa90c856cd6 diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 64ac4a9660..13a0fce739 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -138,9 +138,9 @@ function decodeString ($str, $decompress = true) { } // Decode entities in a nicer way -function decodeEntities ($str) { +function decodeEntities ($str, $quote = ENT_NOQUOTES) { // Decode the entities to UTF-8 now - $decodedString = html_entity_decode($str, ENT_NOQUOTES, 'UTF-8'); + $decodedString = html_entity_decode($str, $quote, 'UTF-8'); // Return decoded string return $decodedString;