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 de...@apache.org on 2007/07/29 21:56:46 UTC

svn commit: r560799 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSink.java

Author: dennisl
Date: Sun Jul 29 12:56:45 2007
New Revision: 560799

URL: http://svn.apache.org/viewvc?view=rev&rev=560799
Log:
o Add a space at the end of simple tags, just before "/>".
o Minor javadoc fixes.

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSink.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/XhtmlSink.java?view=diff&rev=560799&r1=560798&r2=560799
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlSink.java Sun Jul 29 12:56:45 2007
@@ -1271,7 +1271,6 @@
      * </pre>
      *
      * @param t a non null tag
-     * @param att a set of attributes
      * @see #writeStartTag(Tag, MutableAttributeSet)
      */
     private void writeStartTag ( Tag t )
@@ -1282,7 +1281,7 @@
     /**
      * Starts a Tag with attributes, for instance:
      * <pre>
-     * &lt;tag attName="attValue" &gt;
+     * &lt;tag attName="attValue"&gt;
      * </pre>
      *
      * @param t a non null tag
@@ -1297,7 +1296,7 @@
     /**
      * Starts a Tag with attributes, for instance:
      * <pre>
-     * &lt;tag attName="attValue" &gt;
+     * &lt;tag attName="attValue"&gt;
      * </pre>
      *
      * @param t a non null tag
@@ -1338,7 +1337,7 @@
 
         if ( isSimpleTag )
         {
-            sb.append( SLASH_MARKUP );
+            sb.append( SPACE_MARKUP ).append( SLASH_MARKUP );
         }
 
         sb.append( END_MARKUP );