]> source.dussan.org Git - jquery-ui.git/commit
Datepicker: Make sure text option are text, shorten HTML strings
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 11 May 2021 22:59:42 +0000 (00:59 +0200)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 22:59:42 +0000 (00:59 +0200)
commitafe20b79a64266e64011f34b26a30b3d1c62fd47
tree574ba09c71f24ae6f9728e88c5455301689d8a84
parenteffa323f1505f2ce7a324e4f429fa9032c72f280
Datepicker: Make sure text option are text, shorten HTML strings

Instead of using enormous HTML strings, various elements are now constructed
using jQuery APIs. This makes it more obvious user-provided data is used
correctly.

Fixes #15284
Closes gh-1953
tests/unit/datepicker/options.js
ui/widgets/datepicker.js