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 @@ -85,17 +85,17 @@ defmodule ExDoc.DocAST do
85
85
case content do
86
86
# if we already have <pre><code>...</code></pre>, carry on
87
87
[ { :code , _ , _ } ] ->
88
- { :pre , attrs , parse_erl_ast ( List . wrap ( content ) ) , % { } }
88
+ { :pre , attrs , parse_erl_ast ( content ) , % { } }
89
89
90
90
# otherwise, turn <pre>...</pre> into <pre><code>...</code></pre>
91
91
_ ->
92
- content = [ { :code , [ ] , parse_erl_ast ( List . wrap ( content ) ) , % { } } ]
92
+ content = [ { :code , [ ] , parse_erl_ast ( content ) , % { } } ]
93
93
{ :pre , attrs , content , % { } }
94
94
end
95
95
end
96
96
97
97
defp parse_erl_ast ( { tag , attrs , content } ) when is_atom ( tag ) do
98
- { tag , attrs , parse_erl_ast ( List . wrap ( content ) ) , % { } }
98
+ { tag , attrs , parse_erl_ast ( content ) , % { } }
99
99
end
100
100
101
101
@ doc """
You can’t perform that action at this time.
0 commit comments