[ http://issues.apache.org/jira/browse/LUCENE-587?page=all ]
     
Daniel Naber reopened LUCENE-587:
---------------------------------


Sorry, I think the fix in not correct. Output now starts with "<li>", but 
"<li>" must always be inside "<ul>".

> 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
>     Assignee: Hoss Man

>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to