lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trejkaz (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-587) Explanation.toHtml outputs invalid HTML
Date Fri, 02 Jun 2006 01:21:29 GMT
Explanation.toHtml outputs invalid HTML
---------------------------------------

         Key: LUCENE-587
         URL: http://issues.apache.org/jira/browse/LUCENE-587
     Project: Lucene - Java
        Type: Bug

  Components: Search  
    Versions: 2.0.0    
    Reporter: Trejkaz


If you want an HTML representation of an Explanation, you might call the toHtml() method.
 However, the output of this method looks like the following:

<ul>
  <li>some value = some description</li>
  <ul>
    <li>some nested value = some description</li>
  </ul>
</ul>

As it is illegal in HTML to nest a UL directly inside a UL, this method will always output
unparseable HTML if there are nested explanations.

What Lucene probably means to output is the following, which is valid HTML:

<ul>
  <li>some value = some description
    <ul>
      <li>some nested value = some description</li>
    </ul>
  </li>
</ul>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message