maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r386836 - /maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Date Sat, 18 Mar 2006 10:19:51 GMT
Author: brett
Date: Sat Mar 18 02:19:51 2006
New Revision: 386836

URL: http://svn.apache.org/viewcvs?rev=386836&view=rev
Log:
add closing tag for anchor

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

Modified: maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
URL: http://svn.apache.org/viewcvs/maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java?rev=386836&r1=386835&r2=386836&view=diff
==============================================================================
--- maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
(original)
+++ maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Sat Mar 18 02:19:51 2006
@@ -84,6 +84,7 @@
                 else if ( parser.getName().equals( "section" ) )
                 {
                     sink.anchor( parser.getAttributeValue( null, "name" ) );
+                    sink.anchor_();
                     
                     sink.section1();
 
@@ -92,12 +93,11 @@
                     sink.text( parser.getAttributeValue( null, "name" ) );
 
                     sink.sectionTitle1_();
-
-                    
                 }
                 else if ( parser.getName().equals( "subsection" ) )
                 {
                     sink.anchor( parser.getAttributeValue( null, "name" ) );
+                    sink.anchor_();
                     
                     sink.section2();
 
@@ -106,8 +106,6 @@
                     sink.text( parser.getAttributeValue( null, "name" ) );
 
                     sink.sectionTitle2_();
-                    
-                    
                 }
                 else if ( parser.getName().equals( "p" ) )
                 {



Mime
View raw message