We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a000c6c commit 882493fCopy full SHA for 882493f
lib/ex_doc/retriever.ex
@@ -371,14 +371,14 @@ defmodule ExDoc.Retriever do
371
case group do
372
%{title: title, description: description}
373
when is_binary(title) and (is_binary(description) or is_nil(description)) ->
374
- group
+ %{group | title: to_string(title), description: description}
375
376
kw when is_list(kw) ->
377
true = Keyword.keyword?(kw)
378
- %{title: Keyword.fetch!(kw, :title), description: kw[:description]}
+ %{title: to_string(Keyword.fetch!(kw, :title)), description: kw[:description]}
379
380
title when is_binary(title) when is_atom(title) ->
381
- %{title: title, description: nil}
+ %{title: to_string(title), description: nil}
382
end
383
384
0 commit comments