Skip to content

Commit 7297cd3

Browse files
committed
fix
1 parent c6e237a commit 7297cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_doc/formatter/markdown.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ defmodule ExDoc.Formatter.MARKDOWN do
4949

5050
defp normalize_output(output) do
5151
output
52-
|> String.replace(~r/\r\n|\r|\n/, "\n")
52+
|> String.replace(["\r\n", "\n"], "\n")
5353
|> String.replace(~r/\n{3,}/, "\n\n")
5454
end
5555

0 commit comments

Comments
 (0)