From: Tim Düsterhus Date: Tue, 22 Aug 2023 09:52:54 +0000 (+0200) Subject: Rebuild compiled JavaScript X-Git-Tag: 6.0.0_Beta_3~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc204e1e22f8bb42fdbac4ccc2ec8bd294841075;p=GitHub%2FWoltLab%2FWCF.git Rebuild compiled JavaScript see 6e3b9657cc3b1b0fd20be70ce34034073ebf9562 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/DboAction.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/DboAction.js index 3015ada444..fa586923e8 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/DboAction.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/DboAction.js @@ -71,7 +71,7 @@ define(["require", "exports", "tslib", "./Error", "./Status", "../Core"], functi "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", "X-Requested-With": "XMLHttpRequest", "X-XSRF-TOKEN": Core.getXsrfToken(), - "Accept": "application/json", + Accept: "application/json", }, body: Core.serialize(body), mode: "same-origin", diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js index 9e767893e2..c5a472f2b5 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js @@ -64,7 +64,7 @@ define(["require", "exports", "tslib", "../StringUtil"], function (require, expo * @since 6.0 */ escapeAttributeSelector(selector) { - return selector.replace(/(["\\])/g, '\\$1'); + return selector.replace(/(["\\])/g, "\\$1"); }, /** * Returns the element's id. If there is no id set, a unique id will be diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/StringUtil.js b/wcfsetup/install/files/js/WoltLabSuite/Core/StringUtil.js index 6b5967a110..12b4fd0848 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/StringUtil.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/StringUtil.js @@ -22,7 +22,12 @@ define(["require", "exports"], function (require, exports) { * Escapes special HTML-characters within a string */ function escapeHTML(string) { - return String(string).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(//g, ">"); + return String(string) + .replace(/&/g, "&") + .replace(/"/g, """) + .replace(/'/g, "'") + .replace(//g, ">"); } exports.escapeHTML = escapeHTML; /**