maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r542284 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Date Mon, 28 May 2007 18:02:53 GMT
Author: jvanzyl
Date: Mon May 28 11:02:52 2007
New Revision: 542284

URL: http://svn.apache.org/viewvc?view=rev&rev=542284
Log:
DOXIA-78 Honor "rowspan" and "colspan" attributes for tables
Submitted by: Henning Schmiedehausen

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java?view=diff&rev=542284&r1=542283&r2=542284
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Mon May 28 11:02:52 2007
@@ -212,11 +212,11 @@
                 }
                 else if ( parser.getName().equals( "th" ) )
                 {
-                    sink.tableHeaderCell();
+                    sink.tableHeaderCell(parser.getAttributeValue( null, "colspan" ));
                 }
                 else if ( parser.getName().equals( "td" ) )
                 {
-                    sink.tableCell();
+                    sink.tableCell(parser.getAttributeValue( null, "colspan" ));
                 }
                 else
                 {



Mime
View raw message