Rebuild compiled JavaScript
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 22 Aug 2023 09:52:54 +0000 (11:52 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 22 Aug 2023 09:52:54 +0000 (11:52 +0200)
see 6e3b9657cc3b1b0fd20be70ce34034073ebf9562

wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/DboAction.js
wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js
wcfsetup/install/files/js/WoltLabSuite/Core/StringUtil.js

index 3015ada444ae1c2fdb5e855bf3e8fd567af4982c..fa586923e87dd1d7c82411348a6f44d240485626 100644 (file)
@@ -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",
index 9e767893e26836f560ef98c75369bb7b03977d7a..c5a472f2b542f421832e99288ddde19e7b5fb855 100644 (file)
@@ -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
index 6b5967a1103a804094f01500d2912fde6d0d2bbd..12b4fd08480af0a6de3a4f9571fd88b75d14a08e 100644 (file)
@@ -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, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#039;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
+        return String(string)
+            .replace(/&/g, "&amp;")
+            .replace(/"/g, "&quot;")
+            .replace(/'/g, "&#039;")
+            .replace(/</g, "&lt;")
+            .replace(/>/g, "&gt;");
     }
     exports.escapeHTML = escapeHTML;
     /**