Skip to content

Commit ba739cf

Browse files
committed
Set maxlength for search input to 64 chars
fixes adityatelange#1329
1 parent 4c50ed8 commit ba739cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_default/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1>{{- (printf "%s&nbsp;" .Title ) | htmlUnescape -}}
2222

2323
<div id="searchbox">
2424
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}"
25-
aria-label="search" type="search" autocomplete="off">
25+
aria-label="search" type="search" autocomplete="off" maxlength="64">
2626
<ul id="searchResults" aria-label="search results"></ul>
2727
</div>
2828

0 commit comments

Comments
 (0)