gsub strikes back!
This commit is contained in:
parent
90664dbb5d
commit
07f3ca4f6c
@ -15,6 +15,8 @@ function getTitle(page)
|
||||
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