return gsub... is not a nice ideia, since the thing returns several results.

This commit is contained in:
Diego Nehab 2001-09-27 20:05:30 +00:00
parent 27e6140a90
commit 29ce2303c8

View File

@ -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
-----------------------------------------------------------------------------