Skip to content

Commit 384bdfd

Browse files
authored
Use user-provided data correctly (#10199)
* use user-provided data correctly
1 parent 9dac8af commit 384bdfd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/NuGetGallery/Scripts/gallery/jquery-ui-1.10.3.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7793,7 +7793,9 @@ $.extend(Datepicker.prototype, {
77937793
inst.append.remove();
77947794
}
77957795
if (appendText) {
7796-
inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>");
7796+
inst.append = $("<span>")
7797+
.addClass(this._appendClass)
7798+
.text(appendText);
77977799
input[isRTL ? "before" : "after"](inst.append);
77987800
}
77997801

0 commit comments

Comments
 (0)