From c5fa3ad4a275efbbd9bd0e756317ebd1da86dfda Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 29 Jan 2017 14:42:40 -0500 Subject: [PATCH] try fixing escaping --- contrib/lua/memeposting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua index 9c99a9a..b7f4cf0 100644 --- a/contrib/lua/memeposting.lua +++ b/contrib/lua/memeposting.lua @@ -31,9 +31,9 @@ function pre_text(str) str = str:gsub("%)", ")") str = str:gsub("%[", "[") str = str:gsub("\\", "\") - str = str:gsub("/", "/") + -- str = str:gsub("/", "/") str = str:gsub("%]", "]") - str = str:gsub("=", "=") + str = str:gsub("==", "==") str = str:gsub("@", "@") return span_text("code", str:gsub("%|", "|")) end