From: Reed Loden Date: Tue, 29 May 2012 14:45:06 +0000 (-0700) Subject: Bug 754561 - Escape HTML in keywords in the auto-complete form X-Git-Tag: bugzilla-4.2.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf31c24a131b4a1694ce7c9686b85cfc6195532;p=thirdparty%2Fbugzilla.git Bug 754561 - Escape HTML in keywords in the auto-complete form [r=LpSolit a=LpSolit] --- diff --git a/js/field.js b/js/field.js index 744f193a30..2c3fd69b71 100644 --- a/js/field.js +++ b/js/field.js @@ -770,6 +770,7 @@ YAHOO.bugzilla.keywordAutocomplete = { } var keywordAutoComp = new YAHOO.widget.AutoComplete(field, container, this.dataSource); keywordAutoComp.maxResultsDisplayed = YAHOO.bugzilla.keyword_array.length; + keywordAutoComp.formatResult = keywordAutoComp.formatEscapedResult; keywordAutoComp.minQueryLength = 0; keywordAutoComp.useIFrame = true; keywordAutoComp.delimChar = [","," "];