return gsub... is not a nice ideia, since the thing returns several results.
This commit is contained in:
parent
27e6140a90
commit
29ce2303c8
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ function Public.build_url(parsed)
|
|||
if authority then url = "//" .. authority .. url end
|
||||
if parsed.scheme then url = parsed.scheme .. ":" .. url end
|
||||
if parsed.fragment then url = url .. "#" .. parsed.fragment end
|
||||
return gsub(url, "%s", "")
|
||||
url = gsub(url, "%s", "")
|
||||
return url
|
||||
end
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue