Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/pygments.go')
-rw-r--r--helpers/pygments.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/pygments.go b/helpers/pygments.go
index ecbdf99d0..29a5ec54f 100644
--- a/helpers/pygments.go
+++ b/helpers/pygments.go
@@ -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)