slachiewicz opened a new pull request, #793:
URL: https://github.com/apache/maven-indexer/pull/793

   `MatchHighlightMode.HTML` fragments wrap matched terms in `<B>`, but 
`CleaningEncoder` copied the surrounding text unchanged, so a name or 
description containing `<`, `>` or `&` produced broken HTML. The encoder now 
HTML-escapes the text with Lucene's `SimpleHTMLEncoder` before removing line 
breaks.
   
   Callers that escaped the fragments themselves will now see them escaped 
twice and should stop doing so; this needs a line in the release notes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to