[PATCH] Output buffering for Tidy
| From: | Evan Nemerson | Date: | Thu, 23 Oct 2003 05:37:50 +0000 |
| Subject: | [PATCH] Output buffering for Tidy | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-142@lists.php.net to get a copy of this message | ||
I've attached a patch which adds easy output buffer to the Tidy extension. I
chose the name 'ob_tidyhandler', which breaks the tidy naming convention, but
keeps the output buffering convention. I know it can be implemented quite
easily from PHP, but I thought the shortcut would be nice, and perhaps serve
as a friendly hint to an (IMHO) excellent way to use the extension.
The patch also adds a 'tidy.clean_output' option for the ini file, which I'm
guessing a few people will like.
Hope you can use this. Have a nice day.
--
Evan Nemerson
evan@coeus-group.com
--
"A people who mean to be their own governors, must arm themselves with the
power knowledge gives."
-James Madison
Attachment: [text/x-diff] tidy_ob.diff
Attachment: [text/x-diff] tidy_ob.diff