Skip to content

Commit 044203a

Browse files
committed
Do not rely on ExDoc.Utils.source_url_pattern/3
1 parent d666704 commit 044203a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/ex_doc/formatter/markdown.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ defmodule ExDoc.Formatter.Markdown do
413413
title = input_options[:title] || title_text || filename_to_title(input)
414414

415415
source_path = source_file |> Path.relative_to(File.cwd!()) |> String.replace_leading("./", "")
416-
source_url = Utils.source_url_pattern(source_url_pattern, source_path, 1)
416+
source_url = source_url_pattern.(source_path, 1)
417417

418418
%{
419419
source: source,

0 commit comments

Comments
 (0)