From ce7c70532c2dd1f60f042cc1e0d185cf5717fcfd Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 20 Jan 2015 18:10:57 +0100 Subject: [PATCH] Remove what seems like a regression --- src/clean.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clean.c b/src/clean.c index 0602ce8..9e74df0 100644 --- a/src/clean.c +++ b/src/clean.c @@ -1007,6 +1007,7 @@ static Bool Center2Div( TidyDocImpl* doc, Node *node, Node **pnode) { if ( nodeIsCENTER(node) ) { +#if 0 // 00000000 what is this doing inside an nodeIsCENTER(node)??? 0000000 if ( cfgBool(doc, TidyDropFontTags) ) { if (node->content) @@ -1034,7 +1035,7 @@ static Bool Center2Div( TidyDocImpl* doc, Node *node, Node **pnode) return yes; } - +#endif // 00000000 what is this doing inside an nodeIsCENTER(node)??? 0000000 RenameElem( doc, node, TidyTag_DIV ); TY_(AddStyleProperty)( doc, node, "text-align: center" ); return yes;