no git submodules
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
|
||||
"github.com/Depado/bfchroma"
|
||||
"gopkg.in/russross/blackfriday.v2"
|
||||
"github.com/russross/blackfriday/v2"
|
||||
)
|
||||
|
||||
// RenderMarkdown renders input to html with chroma syntax highlighting if wanted
|
||||
|
||||
@@ -10,7 +10,7 @@ func ShortenStringLeft(str string, num int) string {
|
||||
if num > 3 {
|
||||
num -= 3
|
||||
}
|
||||
tstr = "..." + str[len(str)-num:len(str)]
|
||||
tstr = "..." + str[len(str)-num:]
|
||||
}
|
||||
return tstr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user