From 41175f633fe2aab1ef9ec6af7babcdc232bcce13 Mon Sep 17 00:00:00 2001 From: Dmitry Antonyuk Date: Tue, 22 Sep 2020 00:18:23 -0500 Subject: [PATCH] Use new blackfriday origin (#38) --- file_checker.go | 2 +- go.mod | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/file_checker.go b/file_checker.go index b60db75..1b473ca 100644 --- a/file_checker.go +++ b/file_checker.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/russross/blackfriday/v2" "golang.org/x/net/html" + "gopkg.in/russross/blackfriday.v2" ) type fileChecker struct { diff --git a/go.mod b/go.mod index 5b38eb4..983a9eb 100644 --- a/go.mod +++ b/go.mod @@ -10,10 +10,12 @@ require ( github.com/kr/text v0.1.0 github.com/mattn/go-colorable v0.1.4 // indirect github.com/mattn/go-isatty v0.0.9 // indirect - github.com/russross/blackfriday/v2 v2.0.1 github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect github.com/stretchr/testify v1.4.0 github.com/valyala/fasthttp v1.9.1-0.20200228200348-695f713fcf59 golang.org/x/net v0.0.0-20190930134127-c5a3c61f89f3 golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24 // indirect + gopkg.in/russross/blackfriday.v2 v2.0.1 ) + +replace gopkg.in/russross/blackfriday.v2 => github.com/russross/blackfriday/v2 v2.0.1