Mercurial > prosody-hg
comparison util/xml.lua @ 5776:bd0ff8ae98a8
Remove all trailing whitespace
| author | Florian Zeitz <florob@babelmonkeys.de> |
|---|---|
| date | Fri, 09 Aug 2013 17:48:21 +0200 |
| parents | 76e4651142e1 |
| children | d3023dd07cb6 |
comparison
equal
deleted
inserted
replaced
| 5775:a6c2b8933507 | 5776:bd0ff8ae98a8 |
|---|---|
| 24 for i=1,#attr do | 24 for i=1,#attr do |
| 25 local k = attr[i]; | 25 local k = attr[i]; |
| 26 attr[i] = nil; | 26 attr[i] = nil; |
| 27 local ns, nm = k:match(ns_pattern); | 27 local ns, nm = k:match(ns_pattern); |
| 28 if nm ~= "" then | 28 if nm ~= "" then |
| 29 ns = ns_prefixes[ns]; | 29 ns = ns_prefixes[ns]; |
| 30 if ns then | 30 if ns then |
| 31 attr[ns..":"..nm] = attr[k]; | 31 attr[ns..":"..nm] = attr[k]; |
| 32 attr[k] = nil; | 32 attr[k] = nil; |
| 33 end | 33 end |
| 34 end | 34 end |
| 35 end | 35 end |
