maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r652495 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java
Date Thu, 01 May 2008 12:31:08 GMT
Author: ltheussl
Date: Thu May  1 05:31:08 2008
New Revision: 652495

URL: http://svn.apache.org/viewvc?rev=652495&view=rev
Log:
Switch back to deprecated methods for now until we properly handle text events with SinkEventAttributes

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java?rev=652495&r1=652494&r2=652495&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java
Thu May  1 05:31:08 2008
@@ -252,7 +252,8 @@
         else if ( ( parser.getName().equals( Tag.B.toString() ) )
                 || ( parser.getName().equals( Tag.STRONG.toString() ) ) )
         {
-            sink.bold( attribs );
+            // TODO: use SinkEventAttributes
+            sink.bold();
         }
         else if ( ( parser.getName().equals( Tag.I.toString() ) )
                 || ( parser.getName().equals( Tag.EM.toString() ) ) )
@@ -263,14 +264,16 @@
             }
             else
             {
-                sink.italic( attribs );
+                // TODO: use SinkEventAttributes
+                sink.italic();
             }
         }
         else if ( ( parser.getName().equals( Tag.CODE.toString() ) )
                 || ( parser.getName().equals( Tag.SAMP.toString() ) )
                 || ( parser.getName().equals( Tag.TT.toString() ) ) )
         {
-            sink.monospaced( attribs );
+            // TODO: use SinkEventAttributes
+            sink.monospaced();
         }
         else if ( parser.getName().equals( Tag.A.toString() ) )
         {



Mime
View raw message