From 16286b9daee69d4783725933e7b81b9b85daa2b3 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Fri, 12 Jun 2015 15:38:19 +0200 Subject: [PATCH] url_title gsub ' --- plugins/url_title.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/url_title.lua b/plugins/url_title.lua index 0e77547..d90ea3d 100644 --- a/plugins/url_title.lua +++ b/plugins/url_title.lua @@ -12,6 +12,7 @@ function getTitle(page) 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)