mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 06:30:33 +03:00
Apply project wide go fmt
This commit is contained in:
parent
c274e21356
commit
72f14a8202
8 changed files with 28 additions and 29 deletions
|
@ -98,7 +98,7 @@ func Highlight(code, lang, optsStr string) string {
|
|||
if lang == "" {
|
||||
langOpt = "-g" // Try guessing the language
|
||||
} else {
|
||||
langOpt = "-l"+lang
|
||||
langOpt = "-l" + lang
|
||||
}
|
||||
|
||||
cmd := exec.Command(pygmentsBin, langOpt, "-fhtml", "-O", options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue