hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Hermes 1.2.0 is using Blackfriday V2 which uses modules dependency

Open fmonod opened this issue 4 years ago • 1 comments

I'm currently using Hermes on a project that has some dependencies issues and cannot be used with modules at the moment.

Thing is, this hermes version supposedly supports the old dep system, but the ToHTML method (line 76) on hermes.go uses the blackfriday/v2 dependency which only works with modules and I can't make a proper build of my project without commenting it.

fmonod avatar Feb 11 '21 15:02 fmonod

As a workaround, you could probably use a "replace" in your go.mod to handle this issue ?

Something like "replace gopkg.in/russross/blackfriday.v2 v2.1.0 => github.com/russross/blackfriday/v2 v2.1.0"

It seams to work on my side

adelcasse avatar Oct 16 '22 18:10 adelcasse