diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2003-04-22 20:44:55 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2003-04-22 20:44:55 +0000 |
| commit | 9a57fc8cab8912818a1b8c409b1c41bcbda90815 (patch) | |
| tree | 32ca46210e25b1afd8636ad8eafed7e734ab0b34 /ext | |
| parent | 0117c206d669dfbc22c635f411bb7f0abdf153b5 (diff) | |
| download | php-git-9a57fc8cab8912818a1b8c409b1c41bcbda90815.tar.gz | |
&039; which is a single-quote may also come in as &39; I see no reason
not to handle both in html_entity_decode()
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/html.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c index eb96c5041f..50cebb3d00 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -400,6 +400,7 @@ static const struct { { '&', "&", 5, 0 }, { '"', """, 6, ENT_HTML_QUOTE_DOUBLE }, { '\'', "'", 6, ENT_HTML_QUOTE_SINGLE }, + { '\'', "'", 5, ENT_HTML_QUOTE_SINGLE }, { '<', "<", 4, 0 }, { '>', ">", 4, 0 }, { 0, NULL, 0, 0 } |
