From 07f3ca4f6c120963abfc1ec6c7459919a473ee2b Mon Sep 17 00:00:00 2001 From: Akamaru Date: Thu, 2 Jul 2015 14:09:56 +0200 Subject: [PATCH] gsub strikes back! --- plugins/url_title.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/url_title.lua b/plugins/url_title.lua index f8775d5..06c1893 100644 --- a/plugins/url_title.lua +++ b/plugins/url_title.lua @@ -15,6 +15,8 @@ function getTitle(page) s = string.gsub(s, "'", "'") s = string.gsub(s, "–", "โ€“") s = string.gsub(s, "»", "ยป") + s = string.gsub(s, "“", "โ€œ") + s = string.gsub(s, "”", "โ€") -- Put all the tags in lowercase. s = string.gsub(s, "(<[^ >]+)", string.lower)