Software /
code /
prosody
Comparison
core/xmlhandlers.lua @ 3540:bc139431830b
Monster whitespace commit (beware the whitespace monster).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 16 Oct 2010 23:00:42 +0500 |
parent | 2925:692b3c6c5bd2 |
child | 3638:6f58a3063c14 |
comparison
equal
deleted
inserted
replaced
3539:8bbd965267b2 | 3540:bc139431830b |
---|---|
66 for i=1,#attr do | 66 for i=1,#attr do |
67 local k = attr[i]; | 67 local k = attr[i]; |
68 attr[i] = nil; | 68 attr[i] = nil; |
69 local ns, nm = k:match(ns_pattern); | 69 local ns, nm = k:match(ns_pattern); |
70 if nm ~= "" then | 70 if nm ~= "" then |
71 ns = ns_prefixes[ns]; | 71 ns = ns_prefixes[ns]; |
72 if ns then | 72 if ns then |
73 attr[ns..":"..nm] = attr[k]; | 73 attr[ns..":"..nm] = attr[k]; |
74 attr[k] = nil; | 74 attr[k] = nil; |
75 end | 75 end |
76 end | 76 end |
77 end | 77 end |