url_title gsub '
This commit is contained in:
parent
08dd054a1e
commit
16286b9dae
@ -12,6 +12,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