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