maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r659549 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java
Date Fri, 23 May 2008 14:31:55 GMT
Author: ltheussl
Date: Fri May 23 07:31:54 2008
New Revision: 659549

URL: http://svn.apache.org/viewvc?rev=659549&view=rev
Log:
Small fix to prevent div's from being swallowed in xdocs.

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=659549&r1=659548&r2=659549&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
Fri May 23 07:31:54 2008
@@ -63,6 +63,7 @@
     /** Used to recognize the case of img inside figure. */
     private boolean inFigure;
 
+    // TODO: replace by AttributeSet
     /** Decoration properties, eg for texts. */
     private String decoration;
 
@@ -169,6 +170,10 @@
                 atts.removeAttribute( SinkEventAttributeSet.CLASS );
                 sink.figure( atts );
             }
+            else
+            {
+                visited = false;
+            }
         }
         /*
          * The PRE element tells visual user agents that the enclosed text is



Mime
View raw message