summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/comment-tagging.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/comment-tagging.js b/js/comment-tagging.js
index b700fe11d..035d05b0b 100644
--- a/js/comment-tagging.js
+++ b/js/comment-tagging.js
@@ -197,7 +197,7 @@ YAHOO.bugzilla.commentTagging = {
YAHOO.util.Event.stopEvent(evt);
}, tag);
li.appendChild(document.createTextNode(' (' + this.nos_by_tag[tag].length + ')'));
- a.innerHTML = tag;
+ a.innerHTML = YAHOO.lang.escapeHTML(tag);
}
while (container.hasChildNodes()) {
container.removeChild(container.lastChild);