gsub |
This commit is contained in:
parent
7c8b46680d
commit
862885fa90
@ -7,6 +7,7 @@ function getTitle(page)
|
||||
s = string.gsub(s, "\n", " ")
|
||||
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