aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/fileuploader.js
diff options
context:
space:
mode:
authorPhy <git@phy25.com>2020-03-02 10:03:06 -0500
committerPhy <git@phy25.com>2020-03-02 10:03:06 -0500
commit593051682619fec2ff67b505a2b4de21a78484e8 (patch)
treee8422b4db2b5487c182f6a8216b28ab05fe62da1 /lib/scripts/fileuploader.js
parentf17724f821884e579f5b6eb846ed95c7d5b15eeb (diff)
downloaddokuwiki-593051682619fec2ff67b505a2b4de21a78484e8.tar.gz
dokuwiki-593051682619fec2ff67b505a2b4de21a78484e8.zip
Remove obsolete attributes at <script> tag
Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag: 1. "type" attribute defaults to "application/javascript", so there is no need to specify that. The recent value "text/javascript" is obsolete in favor of the default "application/javascript", as stated e.g. here: https://www.iana.org/assignments/media-types/media-types.xhtml#text 2. "charset" attribute of the <script> tag defaults to encoding be the same as the encoding of the script element's node document. As DokuWiki's default encoding is "utf-8", there is no need to specify this encoding in external resources. See: https://html.spec.whatwg.org/multipage/scripting.html#the-script-element Manual merging, closes #2921. Co-Authored-By: petrkajzar <58340153+petrkajzar@users.noreply.github.com>
Diffstat (limited to 'lib/scripts/fileuploader.js')
0 files changed, 0 insertions, 0 deletions