You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by lt...@apache.org on 2007/10/19 13:06:52 UTC
svn commit: r586377 -
/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java
Author: ltheussl
Date: Fri Oct 19 04:06:50 2007
New Revision: 586377
URL: http://svn.apache.org/viewvc?rev=586377&view=rev
Log:
Revert part of r583606: use width instead of colspan.
Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java
Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java?rev=586377&r1=586376&r2=586377&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java Fri Oct 19 04:06:50 2007
@@ -356,26 +356,28 @@
}
else if ( parser.getName().equals( Tag.TH.toString() ) )
{
- String colspan = parser.getAttributeValue( null, Attribute.COLSPAN.toString() );
- if ( colspan == null )
+ String width = parser.getAttributeValue( null, Attribute.WIDTH.toString() );
+
+ if ( width == null )
{
sink.tableHeaderCell();
}
else
{
- sink.tableHeaderCell( colspan );
+ sink.tableHeaderCell( width );
}
}
else if ( parser.getName().equals( Tag.TD.toString() ) )
{
- String colspan = parser.getAttributeValue( null, Attribute.COLSPAN.toString() );
- if ( colspan == null )
+ String width = parser.getAttributeValue( null, Attribute.WIDTH.toString() );
+
+ if ( width == null )
{
sink.tableCell();
}
else
{
- sink.tableCell( colspan );
+ sink.tableCell( width );
}
}
else if ( parser.getName().equals( Tag.CAPTION.toString() ) )