From 862885fa90cf224c7be84c8ccdd1dd48bea50ce5 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Tue, 9 Jun 2015 16:21:07 +0200 Subject: [PATCH] gsub | --- plugins/url_title.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/url_title.lua b/plugins/url_title.lua index 7e82d74..0aa88ec 100644 --- a/plugins/url_title.lua +++ b/plugins/url_title.lua @@ -7,6 +7,7 @@ function getTitle(page) s = string.gsub(s, "\n", " ") s = string.gsub(s, " *< *", "<") s = string.gsub(s, " *> *", ">") + s = string.gsub(s, "|", "|") -- Put all the tags in lowercase. s = string.gsub(s, "(<[^ >]+)", string.lower)