diff options
author | John Coggeshall <john@php.net> | 2004-01-06 18:24:17 +0000 |
---|---|---|
committer | John Coggeshall <john@php.net> | 2004-01-06 18:24:17 +0000 |
commit | d900d737638380e5d96c8bae9e297b5da868f346 (patch) | |
tree | 3484cde136a2e6d98119e3b01c710d6486d75ca9 /ext/tidy/php_tidy.h | |
parent | 107a87ca8525faf65d73882ae923c669231fcdcc (diff) | |
download | php-git-d900d737638380e5d96c8bae9e297b5da868f346.tar.gz |
Added an optional array parameter to tidy_parse_file/string to
fix a bug. Apparently some libtidy config options must be set
prior to parsing in order to work properly.
Diffstat (limited to 'ext/tidy/php_tidy.h')
-rw-r--r-- | ext/tidy/php_tidy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h index f2750288b8..3dbb6a7d97 100644 --- a/ext/tidy/php_tidy.h +++ b/ext/tidy/php_tidy.h @@ -213,6 +213,8 @@ static void tidy_doc_update_properties(PHPTidyObj * TSRMLS_DC); static void tidy_add_default_properties(PHPTidyObj *, tidy_obj_type TSRMLS_DC); static void *php_tidy_get_opt_val(PHPTidyDoc *, TidyOption, TidyOptionType * TSRMLS_DC); static void php_tidy_create_node(INTERNAL_FUNCTION_PARAMETERS, tidy_base_nodetypes); +static int _php_tidy_set_tidy_opt(TidyDoc, char *, zval *); +static int _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options); void _php_tidy_register_nodetypes(INIT_FUNC_ARGS); void _php_tidy_register_tags(INIT_FUNC_ARGS); |