From eadc4cbf5dee8209c9371ad478243fbbc42304b1 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Wed, 17 Jul 2019 15:59:02 -0400
Subject: [PATCH 2/2] Use blackfriday.v2
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
md2roff-bin/cmd.go | 2 +-
md2roff/renderer.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/md2roff-bin/cmd.go b/md2roff-bin/cmd.go
index cf77de1f692a2519dc24dc442f81562f4457afac..907dae0449901585c93dbce033580bb11d419203 100644
--- a/md2roff-bin/cmd.go
+++ b/md2roff-bin/cmd.go
@@ -11,11 +11,11 @@ import (
"strings"
"text/template"
"github.com/github/hub/md2roff"
"github.com/github/hub/utils"
- "github.com/russross/blackfriday"
+ "gopkg.in/russross/blackfriday.v2"
)
var (
flagManual,
flagVersion,
diff --git a/md2roff/renderer.go b/md2roff/renderer.go
index 7aa971ae3dfbb47c038146f845f20edaac3a1512..54576de1fda9a132ca97d8fce0b5e276c64566c4 100644
--- a/md2roff/renderer.go
+++ b/md2roff/renderer.go
@@ -6,11 +6,11 @@ import (
"io"
"regexp"
"strconv"
"strings"
- "github.com/russross/blackfriday"
+ "gopkg.in/russross/blackfriday.v2"
)
// https://github.com/russross/blackfriday/blob/v2/markdown.go
const (
PARSER_EXTENSIONS = blackfriday.NoIntraEmphasis |
--
2.21.0