Hermes 1.2.0 is using Blackfriday V2 which uses modules dependency
fmonod opened this issue · comments
Facundo Monod Nuñez commented
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.
Arnaud Delcasse commented
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