1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00
Files
archived-php-src/ext
Christoph M. Becker e68acd031d Fix #77040: tidyNode::isHtml() is completely broken
The documentation of `tidyNode::isHtml()` states that this method
"checks if a node is part of a HTML document".  That is, of course,
nonsense, since a tidyNode is "an HTML node in an HTML file, as
detected by tidy."

What this method is actually supposed to do is to check whether a node
is an element (unless it is the root element).  This has been broken by
commit d8eeb8e[1], which assumed that `enum TidyNodeType` would
represent flags of a bitmask, what it does not.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=d8eeb8e28673236bca3f066ded75037a5bdf6378>

Closes GH-6290.
2020-10-07 17:43:56 +02:00
..
2019-12-16 10:32:49 -08:00
2020-08-31 12:31:23 +01:00
2020-06-23 15:57:24 +02:00
2019-04-06 19:06:16 -07:00
2020-09-21 11:25:46 +02:00
2020-02-03 13:03:54 +01:00
2019-04-23 12:43:32 +02:00
2020-07-28 10:23:10 +02:00
2020-10-02 15:02:35 +02:00
2019-02-20 11:11:06 +11:00
2020-09-17 10:12:10 +02:00
2020-04-23 17:35:09 +02:00
2020-09-25 16:28:48 +01:00
2019-04-10 13:06:55 +02:00
2020-09-03 10:29:38 +02:00
2020-06-19 17:31:28 +02:00
2020-02-28 17:06:05 +01:00
2020-07-22 20:45:56 +02:00
2019-01-02 11:21:25 +01:00
2019-10-01 11:15:12 +02:00
2020-09-30 08:37:16 +03:00
2020-06-19 10:46:26 +02:00
2019-01-07 01:04:16 -08:00