diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2003-04-22 20:47:09 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2003-04-22 20:47:09 +0000 |
| commit | 0d248d81a6ba97588c5d00fffd1ecb4f7bef24fe (patch) | |
| tree | b9bf04f5918f49e3557f6811ca55eae4951011c1 /ext/standard/html.c | |
| parent | 11a96965c955a803357b3795dd011d192c4b9a9a (diff) | |
| download | php-git-0d248d81a6ba97588c5d00fffd1ecb4f7bef24fe.tar.gz | |
MFB: &039; which is a single-quote may also come in as &39;
I see no reason not to support both in html_entity_decode()
Diffstat (limited to 'ext/standard/html.c')
| -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 ee4220c1b1..b61e983ba2 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -402,6 +402,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 } |
