gsub ‹
This commit is contained in:
parent
768fa91867
commit
64bb221da6
@ -8,6 +8,7 @@ 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, "|", "|")
|
||||||
|
s = string.gsub(s, "‹", "‹")
|
||||||
|
|
||||||
-- Put all the tags in lowercase.
|
-- Put all the tags in lowercase.
|
||||||
s = string.gsub(s, "(<[^ >]+)", string.lower)
|
s = string.gsub(s, "(<[^ >]+)", string.lower)
|
||||||
|
Reference in New Issue
Block a user