diff --git a/CHANGELOG b/CHANGELOG index d66f490..44587e4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,2 +1,5 @@ +1.0.1: +- Display navigation bar in pages + 1.0.0: - Initial release diff --git a/pkg/gmitohtml/convert.go b/pkg/gmitohtml/convert.go index 3c185db..7b35753 100644 --- a/pkg/gmitohtml/convert.go +++ b/pkg/gmitohtml/convert.go @@ -70,7 +70,7 @@ func Convert(page []byte, u string) []byte { if l >= 6 && bytes.HasPrefix(line, []byte("=>")) { splitStart := 2 - if line[splitStart+1] == ' ' || line[splitStart+1] == '\t' { + if line[splitStart] == ' ' || line[splitStart] == '\t' { splitStart++ } split := bytes.SplitN(line[splitStart:], []byte(" "), 2)