aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/init.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-01-04 16:27:18 +0100
committerGitHub <noreply@github.com>2022-01-04 16:27:18 +0100
commit5d5ea015114092c157311c4948f7cc3d8c8e7f8a (patch)
tree11beae372fc202638e16358f84f696c1e71a08c3 /src/core/init.js
parent655c0ed5e204b1f6427e09d615a49586a7bc84eb (diff)
downloadjquery-5d5ea015114092c157311c4948f7cc3d8c8e7f8a.tar.gz
jquery-5d5ea015114092c157311c4948f7cc3d8c8e7f8a.zip
Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`
The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4993
Diffstat (limited to 'src/core/init.js')
-rw-r--r--src/core/init.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/init.js b/src/core/init.js
index 8fc24d8dd..9fea5e6d4 100644
--- a/src/core/init.js
+++ b/src/core/init.js
@@ -10,8 +10,8 @@ import "../traversing/findFilter.js";
var rootjQuery,
// A simple way to check for HTML strings
- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
- // Strict HTML recognition (#11290: must start with <)
+ // Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)
+ // Strict HTML recognition (trac-11290: must start with <)
// Shortcut simple #id case for speed
rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,