From 3e009010a3d81f130073022cca20d10af055268c Mon Sep 17 00:00:00 2001 From: Akamaru Date: Mon, 20 Jul 2015 23:03:03 +0200 Subject: [PATCH] =?UTF-8?q?=C3=84=20=C3=96=20=C3=9C=20for=20url=5Ftitle.lu?= =?UTF-8?q?a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/url_title.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/url_title.lua b/plugins/url_title.lua index 329b127..3b8c774 100644 --- a/plugins/url_title.lua +++ b/plugins/url_title.lua @@ -17,6 +17,12 @@ function getTitle(page) s = string.gsub(s, "»", "»") s = string.gsub(s, "“", "“") s = string.gsub(s, "”", "”") + s = string.gsub(s, "ä", "ä") + 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)