diff options
| author | Alexander Komarov <ak@akxcv.com> | 2018-10-17 23:58:21 +0300 |
|---|---|---|
| committer | Alexander Komarov <ak@akxcv.com> | 2018-10-17 23:58:21 +0300 |
| commit | c55e1e69e32686b5d10fb5df650ec8cbee8b19fb (patch) | |
| tree | 13f37bc0652e9282ca4548340e82fd15a37107bd | |
| parent | 1dceaddfbe163e2d916c904b98923342730ba970 (diff) | |
| download | rust-c55e1e69e32686b5d10fb5df650ec8cbee8b19fb.tar.gz rust-c55e1e69e32686b5d10fb5df650ec8cbee8b19fb.zip | |
[librustdoc] Disable spellcheck for search field
| -rw-r--r-- | src/librustdoc/html/layout.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index 582f31ce7c7..6868c7707ad 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -83,6 +83,7 @@ pub fn render<T: fmt::Display, S: fmt::Display>( <div class=\"search-container\">\ <input class=\"search-input\" name=\"search\" \ autocomplete=\"off\" \ + spellcheck=\"false\" \ placeholder=\"Click or press ‘S’ to search, ‘?’ for more options…\" \ type=\"search\">\ <a id=\"settings-menu\" href=\"{root_path}settings.html\">\ |
