Skip to content

Commit 7871e60

Browse files
Update lib/ex_doc/formatter/html/templates.ex
Co-authored-by: José Valim <[email protected]>
1 parent 423cda4 commit 7871e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_doc/formatter/html/templates.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ defmodule ExDoc.Formatter.HTML.Templates do
9797
search_data =
9898
Enum.map(search_data, fn search_item ->
9999
search_item
100+
|> Map.take([:description, :anchor])
100101
|> Map.put(:id, search_item.title)
101102
|> Map.put(:labels, [search_item.type])
102-
|> Map.take([:id, :labels, :description, :anchor])
103103
end)
104104

105105
Map.put(item, :searchData, search_data)

0 commit comments

Comments
 (0)