aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-02-05 10:13:27 -0500
committerScott González <scott.gonzalez@gmail.com>2013-02-05 10:13:27 -0500
commit7a49ee4cd3a59a11e8c65cb1974481d86e2fd4d7 (patch)
treeb427f41cd3c92d7ae539d36753de99e58240824a /ui/jquery.ui.datepicker.js
parent101a09d31f65ab62c7bc68e54aacd68028c1765b (diff)
downloadjquery-ui-7a49ee4cd3a59a11e8c65cb1974481d86e2fd4d7.tar.gz
jquery-ui-7a49ee4cd3a59a11e8c65cb1974481d86e2fd4d7.zip
Datepicker: Use entity number instead of entity name when escaping single quotes.
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r--ui/jquery.ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index b893f582d..efee7a819 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -1741,7 +1741,7 @@ $.extend(Datepicker.prototype, {
(otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates
(printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day
(printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different)
- ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "&apos;") + "'" : "") + // cell title
+ ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "&#39;") + "'" : "") + // cell title
(unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions
(otherMonth && !showOtherMonths ? "&#xa0;" : // display for other months
(unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" +