Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/core/xmlhandlers.lua Sat Oct 16 08:34:32 2010 +0500 +++ b/core/xmlhandlers.lua Sat Oct 16 23:00:42 2010 +0500 @@ -68,8 +68,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