From da43536e6c43d823cbc9be3789833b68470dd734 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 29 Jan 2017 09:27:57 -0500 Subject: [PATCH] more formatting --- contrib/lua/memeposting.lua | 4 +++- contrib/static/nazi.png | Bin 0 -> 5276 bytes 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 contrib/static/nazi.png 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 0000000000000000000000000000000000000000..90eda05806c7bf246d3853e140837df15b0484cb GIT binary patch literal 5276 zcma)g^;6W3_w{ROP!UlODJkiY7Nl89U5#5B z{q^$?JoB8HbI;8E>Hc!hnR_GDAqr23D2V_7c%q~T*8Hc=|04n3zuIreeDhBTT^04A z0PyJf{|ExUBPsqh@nK4;a`;R5grp)u=UN_5PC2i zjSzO{S7J>FrzE5-#9pdXHJPn~7&(qF3q8pv~96fk{x7hO1P6h_v6((8(NT^;0j7|<`e4t!( z(XAkNx4dgs(|xXydIuedDcdw~5uq@w&ux7K$ARjItdRq0KoSwXv;f`xIqv(0(SV-& zxitk{JH{g)_r0YLcmOy^fS8ai15eTVZ3IBl83By|^0DY#a;QSJ*}d!+=k+IPj*b5f z;C?^dENoPEDBA_@T@E<(NO8h!qIedmxAe0)JZw$XGDUr?U9Za?dyUYAym*WE3Gt(t z9Own;#KqGg)XGmp{DcIDpW)6HnhU$}P75$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