Remove what seems like a regression
This commit is contained in:
parent
f884da577d
commit
ce7c70532c
|
@ -1007,6 +1007,7 @@ static Bool Center2Div( TidyDocImpl* doc, Node *node, Node **pnode)
|
||||||
{
|
{
|
||||||
if ( nodeIsCENTER(node) )
|
if ( nodeIsCENTER(node) )
|
||||||
{
|
{
|
||||||
|
#if 0 // 00000000 what is this doing inside an nodeIsCENTER(node)??? 0000000
|
||||||
if ( cfgBool(doc, TidyDropFontTags) )
|
if ( cfgBool(doc, TidyDropFontTags) )
|
||||||
{
|
{
|
||||||
if (node->content)
|
if (node->content)
|
||||||
|
@ -1034,7 +1035,7 @@ static Bool Center2Div( TidyDocImpl* doc, Node *node, Node **pnode)
|
||||||
|
|
||||||
return yes;
|
return yes;
|
||||||
}
|
}
|
||||||
|
#endif // 00000000 what is this doing inside an nodeIsCENTER(node)??? 0000000
|
||||||
RenameElem( doc, node, TidyTag_DIV );
|
RenameElem( doc, node, TidyTag_DIV );
|
||||||
TY_(AddStyleProperty)( doc, node, "text-align: center" );
|
TY_(AddStyleProperty)( doc, node, "text-align: center" );
|
||||||
return yes;
|
return yes;
|
||||||
|
|
Loading…
Reference in a new issue