maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r558541 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Date Sun, 22 Jul 2007 20:35:25 GMT
Author: ltheussl
Date: Sun Jul 22 13:35:24 2007
New Revision: 558541

URL: http://svn.apache.org/viewvc?view=rev&rev=558541
Log:
Revert part of r557051: section anchors are expected by the site-renderer.

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=558541&r1=558540&r2=558541
==============================================================================
--- 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
Sun Jul 22 13:35:24 2007
@@ -165,6 +165,10 @@
         }
         else if ( parser.getName().equals( "section" ) )
         {
+            // TODO this should go into a sink? kept for compat for the moment
+            sink.anchor( parser.getAttributeValue( null, "name" ) );
+            sink.anchor_();
+
             sink.section1();
 
             sink.sectionTitle1();
@@ -175,6 +179,10 @@
         }
         else if ( parser.getName().equals( "subsection" ) )
         {
+            // TODO this should go into a sink? kept for compat for the moment
+            sink.anchor( parser.getAttributeValue( null, "name" ) );
+            sink.anchor_();
+
             sink.section2();
 
             sink.sectionTitle2();



Mime
View raw message