Tidy question about the config args

Tidy question about the config args

am 24.07.2009 15:24:32 von Al

I have a question about using the $config arguments with tidy_parse_string() and
tidy_repair_string() etc.

The functions seem to totally ignore
new-blocklevel-tags
new-empty-tags
new-inline-tags

E.g., I have in my config array some custom tags
[new-inline-tags] => blue,bold,green,italic,red,underline

I feed this string xxxxxxxxxxxxxxxxxxxx

to tidy_parse_string() and get this report from the tidy_get_error_buffer()

line 1 column 5 - Error: is not recognized!
line 1 column 5 - Warning: discarding unexpected
line 1 column 19 - Warning: discarding unexpected


PHP does not report any errors.

What's the point of having new, custom tags if functions ignore them?

What am I missing?

Thanks.........


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php