Skip to content

Commit c610e8c

Browse files
authored
Merge pull request astaxie#976 from tdifg/master
Fix bug: Add bufio import
2 parents abc100e + 8ba1885 commit c610e8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

zh/build.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (self *Visitor) md2html(arg map[string]string) error {
6868
opts.Smartypants = true
6969
opts.Fractions = true
7070
// r1 := []rune(s1)
71-
m := mark.New(input, opts
71+
m := mark.New(input, opts)
7272
w := bufio.NewWriter(out)
7373
n4, err := w.WriteString(s + m.Render())
7474
fmt.Printf("wrote %d bytes\n", n4)

zh/build_new.go

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
import (
44
"fmt"
55
"io/ioutil"
6+
"bufio"
67
"net/http"
78
"os"
89
"path/filepath"

0 commit comments

Comments
 (0)