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 d1a76a9 commit 4f0a912Copy full SHA for 4f0a912
src/librustdoc/html/static/js/search.js
@@ -2192,7 +2192,7 @@ function initSearch(rawSearchIndex) {
2192
error.forEach((value, index) => {
2193
value = value.split("<").join("<").split(">").join(">");
2194
if (index % 2 !== 0) {
2195
- error[index] = `<code>${value}</code>`;
+ error[index] = `<code>${value.replaceAll(" ", " ")}</code>`;
2196
} else {
2197
error[index] = value;
2198
}
0 commit comments