aaaand gsub ._.

This commit is contained in:
Akamaru 2015-06-17 20:26:37 +02:00
parent c5da7388b1
commit ca66036c0e

View File

@ -13,6 +13,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)