diff zs.go @ 43:9c8d908163a9 draft

add go.mod and go.sum
author sergii.zaitsev
date Mon, 23 Sep 2019 08:15:24 +0000
parents 806ca2102d6b
children 2d7f7f19bec3
line wrap: on
line diff
--- a/zs.go	Thu Feb 18 13:36:17 2016 +0000
+++ b/zs.go	Mon Sep 23 08:15:24 2019 +0000
@@ -191,7 +191,7 @@
 	if err != nil {
 		return err
 	}
-	v["content"] = string(blackfriday.MarkdownCommon([]byte(content)))
+	v["content"] = string(blackfriday.Run([]byte(content)))
 	if w == nil {
 		out, err := os.Create(filepath.Join(PUBDIR, renameExt(path, "", ".html")))
 		if err != nil {