arturobernalg opened a new pull request, #538:
URL: https://github.com/apache/jspwiki/pull/538

   HighlightQuery returned every text node with its < escaped, but mapTextNodes 
only parses the result as html when it still contains a <, so a text node 
without a match was set as the literal text &lt;. mapTextNodes now leaves a 
node alone when the callback returns it unchanged, and HighlightQuery only 
rewrites the nodes with a match, escaping the text around the matches.


-- 
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