note 82616 deleted from function.tidyNode-isHtml by nlopess
| From: | nlopess@php.net | Date: | Sat, 19 Apr 2008 23:14:14 +0000 |
| Subject: | note 82616 deleted from function.tidyNode-isHtml by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138549@lists.php.net to get a copy of this message | ||
Note Submitter: nick at carbidefinger dot net
----
This function is no longer defined, running it results in:
Call to undefined method tidy::isHtml()
Seeing as tidy::isXhtml() is not implemented yet and always returns false, does anyone have any
other ideas on how to test whether or not a string is HTML?
I'm developing an output filter that runs everything via tidy, obviously for any documents that
are not html but are returned as text (.txt files, xml feeds etc) tidy is attempting to fix them, I
need these types omitted