Archived
1
0

more formatting

This commit is contained in:
Jeff Becker 2017-01-29 09:27:57 -05:00
parent 3cb06d572e
commit da43536e6c
2 changed files with 3 additions and 1 deletions

View File

@ -19,8 +19,10 @@ end
-- generate extra markup -- generate extra markup
function memeposting(body, prefix) function memeposting(body, prefix)
body = string.gsub(body, "|(.-)|", wobble_text) body = string.gsub(body, "%(%(%((.-)%)%)%)", function (str) return string.format("<div style='background-image: url(%sstatic/nazi.png)'>%s</div>", prefix, str) end)
body = string.gsub(body, "%[%[%[(.-)%]%]%]", wobble_text)
body = string.gsub(body, "//(.-)\\\\", explode_text) body = string.gsub(body, "//(.-)\\\\", explode_text)
body = string.gsub(body, "/@(.-)@\\", psy_text) body = string.gsub(body, "/@(.-)@\\", psy_text)
body = string.gsub(body, "`(.-)`", pre_text)
return body return body
end end

BIN
contrib/static/nazi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB