shithub: hugo

Download patch

ref: 60baec8005dd6e84b3d564398eb79126ad12ad2e
parent: 2294b0226da244e6a4bb1f67abc47f88f7e67d2d
author: bogem <[email protected]>
date: Tue Aug 30 18:22:26 EDT 2016

commands: Delete useless conversion

--- a/commands/undraft.go
+++ b/commands/undraft.go
@@ -151,7 +151,7 @@
 	}
 
 	// append the actual content
-	buff.Write([]byte(p.Content()))
+	buff.Write(p.Content())
 
 	return buff, nil
 }