plugins/mod_vcard_legacy.lua
changeset 9287 161f604e14fa
parent 9276 f2258e9750cf
child 9288 78673e81243f
equal deleted inserted replaced
9286:e977b64ebd81 9287:161f604e14fa
   156 	local N = vcard_temp:get_child("N");
   156 	local N = vcard_temp:get_child("N");
   157 
   157 
   158 	vcard4:tag("n")
   158 	vcard4:tag("n")
   159 		:text_tag("surname", N and N:get_child_text("FAMILY"))
   159 		:text_tag("surname", N and N:get_child_text("FAMILY"))
   160 		:text_tag("given", N and N:get_child_text("GIVEN"))
   160 		:text_tag("given", N and N:get_child_text("GIVEN"))
   161 		:text_tag("additional", N and N:get_child_text("MIDDLe"))
   161 		:text_tag("additional", N and N:get_child_text("MIDDLE"))
   162 		:text_tag("prefix", N and N:get_child_text("PREFIX"))
   162 		:text_tag("prefix", N and N:get_child_text("PREFIX"))
   163 		:text_tag("suffix", N and N:get_child_text("SUFFIX"))
   163 		:text_tag("suffix", N and N:get_child_text("SUFFIX"))
   164 	:up();
   164 	:up();
   165 
   165 
   166 	for tag in vcard_temp:childtags() do
   166 	for tag in vcard_temp:childtags() do