Skip to content

Commit

Permalink
Merge pull request #20383 from meeseeksmachine/auto-backport-of-pr-20…
Browse files Browse the repository at this point in the history
…381-on-v3.4.x

Backport PR #20381 on branch v3.4.x (Prevent corrections and completions in search field)
  • Loading branch information
QuLogic committed Jun 7, 2021
2 parents 02088df + 9df08db commit bc6cb1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/_templates/layout.html
Expand Up @@ -61,7 +61,7 @@
<li><a href="{{ pathto('devel/index') }}">Contributing</a></li>
<li class="nav-right">
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" placeholder="Search"/>
<input type="text" name="q" aria-labelledby="searchlabel" placeholder="Search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
</form>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion doc/_templates/search.html
Expand Up @@ -17,7 +17,7 @@ <h1 id="search-documentation">{{ _('Search') }}</h1>
"codex ellipse".
</p>
<form action="" method="get">
<input type="text" name="q" value="" />
<input type="text" name="q" value="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="{{ _('search') }}" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
Expand Down

0 comments on commit bc6cb1b

Please sign in to comment.