Fixed populateOption HTML escape bug. Closes #490

This commit is contained in:
n1474335 2019-02-08 17:28:10 +00:00
parent 7d09ba5669
commit 3d20833d42
2 changed files with 4 additions and 2 deletions

View file

@ -240,7 +240,7 @@ function regexHighlight (input, regex, displayTotal) {
if (groups.length) {
title += "Groups:\n";
for (let i = 0; i < groups.length; i++) {
title += `\t${i+1}: ${Utils.escapeHtml(groups[i])}\n`;
title += `\t${i+1}: ${Utils.escapeHtml(groups[i] || "")}\n`;
}
}