cvs: pecl /tidy tidy.c
| From: | John Coggeshall | Date: | Mon, 03 Nov 2003 22:34:44 +0000 |
| Subject: | cvs: pecl /tidy tidy.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-519@lists.php.net to get a copy of this message | ||
john Mon Nov 3 17:34:44 2003 EDT
Modified files:
/pecl/tidy tidy.c
Log:
Should've added a few more cases to that bugfix switch.
Index: pecl/tidy/tidy.c
diff -u pecl/tidy/tidy.c:1.16 pecl/tidy/tidy.c:1.17
--- pecl/tidy/tidy.c:1.16 Mon Nov 3 11:35:58 2003
+++ pecl/tidy/tidy.c Mon Nov 3 17:34:44 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tidy.c,v 1.16 2003/11/03 16:35:58 john Exp $ */
+/* $Id: tidy.c,v 1.17 2003/11/03 22:34:44 john Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -989,6 +989,9 @@
ADD_PROPERITY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node));
ADD_PROPERITY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node));
switch(tidyNodeGetType(obj->node)) {
+
+ case TidyNode_Root:
+ case TidyNode_DocType:
case TidyNode_Text:
case TidyNode_Comment:
break;