#32608 [Ver->Csd]: html_entity_decode converts single quotes even if ENT_NOQUOTES is given

From: Date: Tue, 03 May 2005 01:11:52 +0000
Subject: #32608 [Ver->Csd]: html_entity_decode converts single quotes even if ENT_NOQUOTES is given
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78543@lists.php.net to get a copy of this message
ID: 32608 Updated by: iliaa@php.net Reported By: ladislav dot prosek at matfyz dot cz -Status: Verified +Status: Closed Bug Type: Strings related Operating System: * PHP Version: 5CVS-2005-04-07 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-04-08 00:14:20] sniper@php.net Only in PHP 5 (works fine with latest PHP_4_3 checkout) ------------------------------------------------------------------------ [2005-04-06 16:32:11] ladislav dot prosek at matfyz dot cz Description: ------------ html_entity_decode seems to convert single quotes (' and ') regardless of the quote_style parameter. Reproduce code: --------------- echo html_entity_decode("'", ENT_NOQUOTES); Expected result: ---------------- ' Actual result: -------------- ' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32608&edit=1

« previous php.bugs (#78543) next »