Skip to content

Commit

Permalink
Treats every documentation as sigil instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
szsoppa committed Jun 21, 2024
1 parent e766e67 commit a8d18a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/contexted/module_analyzer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ defmodule Contexted.ModuleAnalyzer do
end)
|> case do
{_, _, _, %{"en" => doc}, _} ->
"@doc \"\"\"\n#{doc}\n\"\"\""
"@doc ~S\"\"\"\n#{doc}\n\"\"\""

_ ->
nil
Expand Down

0 comments on commit a8d18a7

Please sign in to comment.