Skip to content

Commit

Permalink
Merge pull request #43 from ysim/upgrade-packages
Browse files Browse the repository at this point in the history
Upgrade packages
  • Loading branch information
ysim committed Jul 30, 2020
2 parents 0e8ce3d + ea04175 commit c13c777
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 21 deletions.
36 changes: 22 additions & 14 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@

[[constraint]]
name = "github.com/russross/blackfriday"
version = "1.5.2"
version = "2.0.1"

[[constraint]]
name = "github.com/sirupsen/logrus"
version = "1.4.2"
version = "1.6.0"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.3.0"
version = "1.6.1"

[[constraint]]
name = "golang.org/x/net"
branch = "master"

[[constraint]]
name = "gopkg.in/yaml.v2"
version = "2.2.2"
name = "gopkg.in/yaml.v3"
branch = "v3"

[prune]
go-tests = true
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"flag"
"fmt"
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
"io/ioutil"
"os"
"os/exec"
Expand Down
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func ParseHTML(htmlBytes []byte) ([]string, error) {
}

func RenderMarkdown(mdBytes []byte) error {
htmlBytes := blackfriday.MarkdownBasic(mdBytes)
htmlBytes := blackfriday.Run(mdBytes)
outputSlice, err := ParseHTML(htmlBytes)
if err.Error() != "EOF" {
return err
Expand Down

0 comments on commit c13c777

Please sign in to comment.