gsub strikes back!

This commit is contained in:
Akamaru 2015-07-02 14:09:56 +02:00
parent 90664dbb5d
commit 07f3ca4f6c

View File

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