no git submodules

This commit is contained in:
2022-02-28 10:27:32 +01:00
parent 956523b4b0
commit 58ffd68822
36 changed files with 165 additions and 126 deletions

View File

@@ -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

View File

@@ -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
}