From cb458e6a6323f5cc3b33b17a5fb07d585ae6b2fc Mon Sep 17 00:00:00 2001 From: Minho Date: Sun, 8 Apr 2018 16:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=87=BA=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/book_result.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/book_result.go b/models/book_result.go index 0d735370..d1ad4f58 100644 --- a/models/book_result.go +++ b/models/book_result.go @@ -370,7 +370,7 @@ func (m *BookResult) Converter(sessionId string) (ConvertBookResult, error) { if err := filetil.CopyFile(filepath.Join(conf.WorkingDirectory, "static", "prettify", "themes", "prettify.css"), filepath.Join(tempOutputPath, "styles", "prettify", "themes", "prettify.css")); err != nil { beego.Error("复制CSS样式出错 => static/prettify/themes/prettify.css",err) } - if err := filetil.CopyFile(filepath.Join(conf.WorkingDirectory, "static", "css,", "markdown.preview.css"), filepath.Join(tempOutputPath, "styles", "css", "markdown.preview.css"));err != nil { + if err := filetil.CopyFile(filepath.Join(conf.WorkingDirectory, "static", "css", "markdown.preview.css"), filepath.Join(tempOutputPath, "styles", "css", "markdown.preview.css"));err != nil { beego.Error("复制CSS样式出错 => static/css/markdown.preview.css",err) } if err := filetil.CopyFile(filepath.Join(conf.WorkingDirectory, "static", "highlight", "styles", "vs.css"), filepath.Join(tempOutputPath, "styles", "highlight", "styles", "vs.css")); err != nil {