Mercurial > prosody-hg
diff fallbacks/lxp.lua @ 5776:bd0ff8ae98a8
Remove all trailing whitespace
| author | Florian Zeitz <florob@babelmonkeys.de> |
|---|---|
| date | Fri, 09 Aug 2013 17:48:21 +0200 |
| parents | eff0c5fe9119 |
| children | a4c47203a9eb |
line wrap: on
line diff
--- a/fallbacks/lxp.lua Fri Aug 09 16:03:48 2013 +0200 +++ b/fallbacks/lxp.lua Fri Aug 09 17:48:21 2013 +0200 @@ -61,7 +61,7 @@ while #data == 0 do data = coroutine.yield(); end return data:sub(1,1); end - + local ns = { xml = "http://www.w3.org/XML/1998/namespace" }; ns.__index = ns; local function apply_ns(name, dodefault) @@ -100,7 +100,7 @@ ns = getmetatable(ns); return tag; end - + while true do if peek() == "<" then local elem = read_until(">"):sub(2,-2);
