diff options
author | Andrei Zmievski <andrei@php.net> | 2001-04-25 20:14:29 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2001-04-25 20:14:29 +0000 |
commit | 07a5e3fb9cb37efc5f618b01333bf5c47f159a24 (patch) | |
tree | 2f1ff742f97226a4f5175402adea4ea5369a4fc8 /ext/standard/html.h | |
parent | a09c88cb6a259e347268cfa13b0e2ef9c348741e (diff) | |
download | php-git-07a5e3fb9cb37efc5f618b01333bf5c47f159a24.tar.gz |
* Made ENT_* defines availabe to other functions.
* The key/variable names in WDDX are now html escaped to not break XML.
@- Fixed WDDX serialization to HTML-escape key/variable names so as not to
@ break the XML packet. (Andrei)
Diffstat (limited to 'ext/standard/html.h')
-rw-r--r-- | ext/standard/html.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/html.h b/ext/standard/html.h index 442c6de435..ae0f5e8d65 100644 --- a/ext/standard/html.h +++ b/ext/standard/html.h @@ -21,6 +21,10 @@ #ifndef HTML_H #define HTML_H +#define ENT_COMPAT 1 +#define ENT_QUOTES 2 +#define ENT_NOQUOTES 4 + void register_html_constants(INIT_FUNC_ARGS); PHP_FUNCTION(htmlspecialchars); |