File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -378,14 +378,14 @@ group = normalize_group(group_for_doc.(metadata) || doc_data.default_group)
378
378
case group do
379
379
% { title: title , description: description }
380
380
when is_binary ( title ) and ( is_binary ( description ) or is_nil ( description ) ) ->
381
- group
381
+ % { group | title: title , description: description }
382
382
383
383
kw when is_list ( kw ) ->
384
384
true = Keyword . keyword? ( kw )
385
- % { title: Keyword . fetch! ( kw , :title ) , description: kw [ :description ] }
385
+ % { title: to_string ( Keyword . fetch! ( kw , :title ) ) , description: kw [ :description ] }
386
386
387
387
title when is_binary ( title ) when is_atom ( title ) ->
388
- % { title: title , description: nil }
388
+ % { title: to_string ( title ) , description: nil }
389
389
end
390
390
end
391
391
end
You can’t perform that action at this time.
0 commit comments