Rollup merge of #55161 - akxcv:rustdoc/disable-spellcheck, r=QuietMisdreavus,GuillaumeGomez

[librustdoc] Disable spellcheck for search field

This disables spellchecking for the search field in the rustdoc web interface.

As someone who uses Safari to browse through Rust docs, spellchecking gets really annoying.
This commit is contained in:
kennytm 2018-10-18 10:47:38 +08:00
commit 7d21252383
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C

View file

@ -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\">\