Ä Ö Ü for url_title.lua

This commit is contained in:
Akamaru 2015-07-20 23:03:03 +02:00
parent b59e3bf057
commit 3e009010a3

View File

@ -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)