lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r411343 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/Explanation.java
Date Sat, 03 Jun 2006 00:06:28 GMT
Author: hossman
Date: Fri Jun  2 17:06:28 2006
New Revision: 411343

URL: http://svn.apache.org/viewvc?rev=411343&view=rev
Log:
LUCENE-587 fix Explanation.toHtml to produce valid HTML

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/search/Explanation.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=411343&r1=411342&r2=411343&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Fri Jun  2 17:06:28 2006
@@ -25,6 +25,9 @@
  3. LUCENE-575: SpellChecker min score is incorrectly changed by suggestSimilar
     (Karl Wettin via Yonik Seeley)
 
+ 4. LUCENE-587: Explanation.toHtml was producing malformed HTML
+    (Chris Hostetter)
+    
 Optimizations
 
   1. LUCENE-586: TermDocs.skipTo() is now more efficient for multi-segment

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/Explanation.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/Explanation.java?rev=411343&r1=411342&r2=411343&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/Explanation.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/Explanation.java Fri Jun  2 17:06:28
2006
@@ -91,7 +91,7 @@
     buffer.append(getValue());
     buffer.append(" = ");
     buffer.append(getDescription());
-    buffer.append("</li>\n");
+    buffer.append("<br />\n");
 
     Explanation[] details = getDetails();
     if (details != null) {
@@ -100,6 +100,7 @@
       }
     }
 
+    buffer.append("</li>\n");
     buffer.append("</ul>\n");
 
     return buffer.toString();



Mime
View raw message