summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go.mod4
-rw-r--r--modules/caddyhttp/markdown/markdown.go2
-rw-r--r--modules/caddyhttp/templates/tplcontext.go2
3 files changed, 3 insertions, 5 deletions
diff --git a/go.mod b/go.mod
index 8f01554..bf9e248 100644
--- a/go.mod
+++ b/go.mod
@@ -19,13 +19,11 @@ require (
github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2
github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
github.com/rs/cors v1.6.0
+ github.com/russross/blackfriday/v2 v2.0.1
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/starlight-go/starlight v0.0.0-20181207205707-b06f321544f3
go.starlark.net v0.0.0-20190604130855-6ddc71c0ba77
golang.org/x/net v0.0.0-20190603091049-60506f45cf65
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
- gopkg.in/russross/blackfriday.v2 v2.0.1
gopkg.in/yaml.v2 v2.2.2 // indirect
)
-
-replace gopkg.in/russross/blackfriday.v2 v2.0.1 => github.com/russross/blackfriday/v2 v2.0.1
diff --git a/modules/caddyhttp/markdown/markdown.go b/modules/caddyhttp/markdown/markdown.go
index b9a2a91..3ba4d02 100644
--- a/modules/caddyhttp/markdown/markdown.go
+++ b/modules/caddyhttp/markdown/markdown.go
@@ -21,7 +21,7 @@ import (
"strings"
"sync"
- "gopkg.in/russross/blackfriday.v2"
+ "github.com/russross/blackfriday/v2"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
diff --git a/modules/caddyhttp/templates/tplcontext.go b/modules/caddyhttp/templates/tplcontext.go
index 548b3e1..ffcc636 100644
--- a/modules/caddyhttp/templates/tplcontext.go
+++ b/modules/caddyhttp/templates/tplcontext.go
@@ -27,7 +27,7 @@ import (
"github.com/Masterminds/sprig"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
- "gopkg.in/russross/blackfriday.v2"
+ "github.com/russross/blackfriday/v2"
)
// templateContext is the templateContext with which HTTP templates are executed.