From 8f74e91c698cce47b50f978965919712479ad098 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Wed, 10 Feb 2016 15:30:01 -0500 Subject: [PATCH] No printing Former-commit-id: db031cc35efa9778bec182d29f57084ca266aa71 [formerly 7c2c48966008ce4ade933136e48ed9d5575ba19e] [formerly cd32905773ee78393e25e9fe4245c34930e8cbad [formerly 85e306ecfca8b9695295e8b4a279f279eec0b254 [formerly 20d70cccc309f5e69babbecedf651cb970dcbde0]]] Former-commit-id: d2190cd8de586be4f99335c6d548616281a4742d [formerly f2c0bcfd820a65e5601cf5087cb51f13b2e96ef4] Former-commit-id: d9f6908918b31155756dc53876310dcfed86c7c8 Former-commit-id: cc4f2b58ef4a9e047f93014405aa1c9ded1f0bbc --- routes.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/routes.go b/routes.go index 37a3216..c60e860 100644 --- a/routes.go +++ b/routes.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "html/template" "io/ioutil" "net/http" @@ -93,9 +92,7 @@ func serveStaticFile(c *gin.Context, option string) { } func renderMarkdown(c *gin.Context, currentText string, title string, versions []versionsInfo) { - fmt.Println(currentText) unsafe := blackfriday.MarkdownCommon([]byte(currentText)) - fmt.Println(string(unsafe)) pClean := bluemonday.UGCPolicy() pClean.AllowElements("img") pClean.AllowAttrs("alt").OnElements("img")