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/10 21:32:34 UTC

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

Author: ltheussl
Date: Wed Oct 10 12:32:34 2007
New Revision: 583589

URL: http://svn.apache.org/viewvc?rev=583589&view=rev
Log:
Add definition list to parser.

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=583589&r1=583588&r2=583589&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 Wed Oct 10 12:32:34 2007
@@ -167,6 +167,19 @@
                 sink.numberedListItem();
             }
         }
+        else if ( parser.getName().equals( Tag.DL.toString() ) )
+        {
+            sink.definitionList();
+        }
+        else if ( parser.getName().equals( Tag.DT.toString() ) )
+        {
+            sink.definitionListItem();
+            sink.definedTerm();
+        }
+        else if ( parser.getName().equals( Tag.DD.toString() ) )
+        {
+            sink.definition();
+        }
         else if ( parser.getName().equals( Tag.HEAD.toString() ) )
         {
             sink.head();
@@ -314,6 +327,19 @@
             {
                 sink.numberedListItem_();
             }
+        }
+        else if ( parser.getName().equals( Tag.DL.toString() ) )
+        {
+            sink.definitionList_();
+        }
+        else if ( parser.getName().equals( Tag.DT.toString() ) )
+        {
+            sink.definedTerm_();
+        }
+        else if ( parser.getName().equals( Tag.DD.toString() ) )
+        {
+            sink.definition_();
+            sink.definitionListItem_();
         }
         else if ( parser.getName().equals( Tag.HEAD.toString() ) )
         {