diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua index 899ef3b..9ece13d 100644 --- a/contrib/lua/memeposting.lua +++ b/contrib/lua/memeposting.lua @@ -19,8 +19,10 @@ end -- generate extra markup function memeposting(body, prefix) - body = string.gsub(body, "|(.-)|", wobble_text) + body = string.gsub(body, "%(%(%((.-)%)%)%)", function (str) return string.format("
%s
", prefix, str) end) + body = string.gsub(body, "%[%[%[(.-)%]%]%]", wobble_text) body = string.gsub(body, "//(.-)\\\\", explode_text) body = string.gsub(body, "/@(.-)@\\", psy_text) + body = string.gsub(body, "`(.-)`", pre_text) return body end diff --git a/contrib/static/nazi.png b/contrib/static/nazi.png new file mode 100644 index 0000000..90eda05 Binary files /dev/null and b/contrib/static/nazi.png differ