aaaand gsub ._.
This commit is contained in:
parent
c5da7388b1
commit
ca66036c0e
@ -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)
|
||||
|
Reference in New Issue
Block a user