Don't you also need |".|replace(/&/g,'&')|"?
PS. Isn't there a standard way to escape HTML in JS? ||-Sundar| || On 27/07/18, 7:51 PM, Hannes Wallnöfer wrote:
Please review and test this patch to escape< and> characters in search results to HTML< and> entities. Issue: https://bugs.openjdk.java.net/browse/JDK-8176453 Webrev: http://cr.openjdk.java.net/~hannesw/8176453/webrev.00/ This fixes rendering of search results for search terms containing generics such as „map<str“. Thanks, Hannes
