Skip to content

Commit fcfd0bc

Browse files
authored
Merge pull request #51 from crazy-max/master
Fix blackfriday module
2 parents 5d751c9 + f30a294 commit fcfd0bc

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Diff for: go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ require (
1414
github.com/olekukonko/tablewriter v0.0.1 // indirect
1515
github.com/pmezard/go-difflib v1.0.0 // indirect
1616
github.com/russross/blackfriday/v2 v2.0.1
17-
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 // indirect
17+
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
1818
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
1919
github.com/stretchr/testify v1.2.2
2020
golang.org/x/crypto v0.0.0-20181029175232-7e6ffbd03851 // indirect
2121
golang.org/x/net v0.0.0-20181029044818-c44066c5c816 // indirect
2222
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
2323
gopkg.in/yaml.v2 v2.2.1 // indirect
2424
)
25+
26+
replace gopkg.in/russross/blackfriday.v2 v2.0.1 => github.com/russross/blackfriday/v2 v2.0.1

Diff for: go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
2727
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2828
github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
2929
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
30-
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 h1:/vdW8Cb7EXrkqWGufVMES1OH2sU9gKVb2n9/1y5NMBY=
31-
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
30+
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
31+
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
3232
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf h1:pvbZ0lM0XWPBqUKqFU8cmavspvIl9nulOYwdy6IFRRo=
3333
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf/go.mod h1:RJID2RhlZKId02nZ62WenDCkgHFerpIOmW0iT7GKmXM=
3434
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=

Diff for: hermes.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package hermes
22

33
import (
44
"bytes"
5+
"html/template"
6+
57
"github.com/Masterminds/sprig"
68
"github.com/imdario/mergo"
79
"github.com/jaytaylor/html2text"
810
"github.com/russross/blackfriday/v2"
9-
"html/template"
1011
)
1112

1213
// Hermes is an instance of the hermes email generator

0 commit comments

Comments
 (0)