more formatting
This commit is contained in:
parent
3cb06d572e
commit
da43536e6c
@ -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
BIN
contrib/static/nazi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
Reference in New Issue
Block a user