From 855c78a8f8b95c19bef967db69fc3936fdd86311 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 28 Jan 2017 11:44:33 -0500 Subject: [PATCH] try fixing wobble text --- contrib/lua/memeposting.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua index a84ee99..6e67b8d 100644 --- a/contrib/lua/memeposting.lua +++ b/contrib/lua/memeposting.lua @@ -11,9 +11,6 @@ end -- generate extra markup function memeposting(body, prefix) - local nums = 1 - for nums > 0 do - body, nums = string.gsub(body, "|(.*)|", wobble_text, 1) - end + body = string.gsub(body, "|(.+)|", wobble_text) return body end