From 8d37e0b25872764b4ff35a11eaaf1e8074251121 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Mon, 6 Aug 2018 11:47:19 -0400 Subject: [PATCH] removed dep on bad md package --- go.mod | 3 +-- go.sum | 6 ++---- markdown_helper.go | 1 - 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 7e5c481..762a967 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ require ( github.com/davecgh/go-spew v1.1.0 // indirect github.com/fatih/structs v1.0.0 // indirect github.com/gobuffalo/envy v1.6.3 - github.com/gobuffalo/github_flavored_markdown v0.0.0-20180806152711-6af65dcbf538 + github.com/gobuffalo/github_flavored_markdown v1.0.0 github.com/gobuffalo/tags v2.0.6+incompatible github.com/gobuffalo/uuid v2.0.0+incompatible // indirect github.com/gobuffalo/validate v2.0.0+incompatible // indirect @@ -13,7 +13,6 @@ require ( github.com/markbates/inflect v1.0.0 github.com/pkg/errors v0.8.0 github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/russross/blackfriday v2.0.0+incompatible github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516 // indirect github.com/spf13/cobra v0.0.3 github.com/spf13/pflag v1.0.1 // indirect diff --git a/go.sum b/go.sum index 3381ca2..bb21b47 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/fatih/structs v1.0.0 h1:BrX964Rv5uQ3wwS+KRUAJCBBw5PQmgJfJ6v4yly5QwU= github.com/fatih/structs v1.0.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/gobuffalo/envy v1.6.3 h1:I9iyNACF0Tovfta7iqLrUAXFHYBDBWveQrjpEv2XeWs= github.com/gobuffalo/envy v1.6.3/go.mod h1:gOxUQY+OEwqH1a2m25Sqax1GIhj31tPNOIdFzj8QThs= -github.com/gobuffalo/github_flavored_markdown v0.0.0-20180806152711-6af65dcbf538 h1:oMit6kKd9MDvTjZ6e21eRmQUV2TfGdL+apFiyr8wsNk= -github.com/gobuffalo/github_flavored_markdown v0.0.0-20180806152711-6af65dcbf538/go.mod h1:c8/8gRnd6MSyyk+fp6E8O8cUTHd7P2cnDnH4G7o91l0= +github.com/gobuffalo/github_flavored_markdown v1.0.0 h1:e2dK+SoHgOc/vfXuYMdXwEg2vAUlFzp8SBRwTOXckQ0= +github.com/gobuffalo/github_flavored_markdown v1.0.0/go.mod h1:c8/8gRnd6MSyyk+fp6E8O8cUTHd7P2cnDnH4G7o91l0= github.com/gobuffalo/tags v2.0.6+incompatible h1:ROoAxfy9HW4i0plbJ+vw8whEs8J1KWpFJRa7CHRPb4M= github.com/gobuffalo/tags v2.0.6+incompatible/go.mod h1:9XmhOkyaB7UzvuY4UoZO4s67q8/xRMVJEaakauVQYeY= github.com/gobuffalo/uuid v2.0.0+incompatible h1:Qy7fnxWR5ubnoXoHsHT63YamltD6PQraDWxqtapAMRI= @@ -24,8 +24,6 @@ github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/russross/blackfriday v2.0.0+incompatible h1:cBXrhZNUf9C+La9/YpS+UHpUT8YD6Td9ZMSU9APFcsk= -github.com/russross/blackfriday v2.0.0+incompatible/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516 h1:ofR1ZdrNSkiWcMsRrubK9tb2/SlZVWttAfqUjJi6QYc= github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516/go.mod h1:Yow6lPLSAXx2ifx470yD/nUe22Dv5vBvxK/UK9UUTVs= github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= diff --git a/markdown_helper.go b/markdown_helper.go index 18a2844..f36d1fc 100644 --- a/markdown_helper.go +++ b/markdown_helper.go @@ -4,7 +4,6 @@ import ( "html/template" "github.com/gobuffalo/github_flavored_markdown" - _ "github.com/russross/blackfriday" ) // Markdown converts the string into HTML using GitHub flavored markdown.