diff --git a/plugins/meme/web.go b/plugins/meme/web.go index a08f6df..60a5e76 100644 --- a/plugins/meme/web.go +++ b/plugins/meme/web.go @@ -147,6 +147,9 @@ var memeIndex = ` }, filters: { pretty: function(value) { + if (!value) { + return "" + } return JSON.stringify(JSON.parse(value), null, 2); } },