Skip to content

Commit 1e844e9

Browse files
jwarwickJosé Valim
authored andcommitted
Updated signature to handle map special forms
1 parent 1419e7a commit 1e844e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_doc/html_formatter/templates.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ defmodule ExDoc.HTMLFormatter.Templates do
5151
cond do
5252
name in [:__aliases__, :__block__] ->
5353
"#{name}(args)"
54-
name in [:__ENV__, :__MODULE__, :__DIR__, :__CALLER__] ->
54+
name in [:__ENV__, :__MODULE__, :__DIR__, :__CALLER__, :%, :%{}] ->
5555
"#{name}"
5656
true ->
5757
Macro.to_string { name, 0, args }

0 commit comments

Comments
 (0)