Software /
code /
prosody
Diff
util/xml.lua @ 5776:bd0ff8ae98a8
Remove all trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Fri, 09 Aug 2013 17:48:21 +0200 |
parent | 5223:76e4651142e1 |
child | 6663:d3023dd07cb6 |
line wrap: on
line diff
--- a/util/xml.lua Fri Aug 09 16:03:48 2013 +0200 +++ b/util/xml.lua Fri Aug 09 17:48:21 2013 +0200 @@ -26,8 +26,8 @@ attr[i] = nil; local ns, nm = k:match(ns_pattern); if nm ~= "" then - ns = ns_prefixes[ns]; - if ns then + ns = ns_prefixes[ns]; + if ns then attr[ns..":"..nm] = attr[k]; attr[k] = nil; end