Comparison

plugins/mod_vcard_legacy.lua @ 9285:78673e81243f

mod_vcard_legacy: Fix EXTVAL conversion (thanks pep.) Good thing uri and url doesn't look similar at all!
author Kim Alvefur <zash@zash.se>
date Sun, 09 Sep 2018 02:43:45 +0200
parent 9284:161f604e14fa
child 9286:992e986589b8
comparison
equal deleted inserted replaced
9284:161f604e14fa 9285:78673e81243f
122 vcard_temp:text_tag("TYPE", info.attr.type); 122 vcard_temp:text_tag("TYPE", info.attr.type);
123 end 123 end
124 if data then 124 if data then
125 vcard_temp:text_tag("BINVAL", data.tags[1]:get_text()); 125 vcard_temp:text_tag("BINVAL", data.tags[1]:get_text());
126 elseif info and info.attr.url then 126 elseif info and info.attr.url then
127 vcard_temp:text_tag("EXTVAL", info.attr.uri); 127 vcard_temp:text_tag("EXTVAL", info.attr.url);
128 end 128 end
129 vcard_temp:up(); 129 vcard_temp:up();
130 end 130 end
131 end 131 end
132 132