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
path: root/markup
diff options
context:
space:
mode:
Diffstat (limited to 'markup')
-rw-r--r--markup/highlight/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/highlight/config.go b/markup/highlight/config.go
index 1bee58dc5..1dc1e28e2 100644
--- a/markup/highlight/config.go
+++ b/markup/highlight/config.go
@@ -155,7 +155,7 @@ func parseOptions(in string) (map[string]interface{}, error) {
return opts, nil
}
-// startLine compansates for https://github.com/alecthomas/chroma/issues/30
+// startLine compensates for https://github.com/alecthomas/chroma/issues/30
func hlLinesToRanges(startLine int, s string) ([][2]int, error) {
var ranges [][2]int
s = strings.TrimSpace(s)