We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e237a commit 7297cd3Copy full SHA for 7297cd3
lib/ex_doc/formatter/markdown.ex
@@ -49,7 +49,7 @@ defmodule ExDoc.Formatter.MARKDOWN do
49
50
defp normalize_output(output) do
51
output
52
- |> String.replace(~r/\r\n|\r|\n/, "\n")
+ |> String.replace(["\r\n", "\n"], "\n")
53
|> String.replace(~r/\n{3,}/, "\n\n")
54
end
55
0 commit comments