gsub gsub gsub
This commit is contained in:
parent
87ea7b5771
commit
782020e61f
@ -9,6 +9,9 @@ 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, "&", "&")
|
||||
|
||||
-- Put all the tags in lowercase.
|
||||
s = string.gsub(s, "(<[^ >]+)", string.lower)
|
||||
|
Reference in New Issue
Block a user