We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 021861a commit 2af09b6Copy full SHA for 2af09b6
src/librustdoc/html/static/js/storage.js
@@ -24,7 +24,7 @@ function getSettingValue(settingName) {
24
return def;
25
}
26
27
- return current;
+ return current.replace(/[^A-Za-z0-9_-]/g,"");
28
29
30
const localStoredTheme = getSettingValue("theme");
0 commit comments