Diff

plugins/mod_vcard_legacy.lua @ 9284:161f604e14fa

mod_vcard_legacy: Fix uppercase tag name (thanks pep.) Must have slipped on my shift key
author Kim Alvefur <zash@zash.se>
date Sun, 09 Sep 2018 02:14:44 +0200
parent 9273:f2258e9750cf
child 9285:78673e81243f
line wrap: on
line diff
--- a/plugins/mod_vcard_legacy.lua	Sat Sep 08 16:49:29 2018 +0200
+++ b/plugins/mod_vcard_legacy.lua	Sun Sep 09 02:14:44 2018 +0200
@@ -158,7 +158,7 @@
 	vcard4:tag("n")
 		:text_tag("surname", N and N:get_child_text("FAMILY"))
 		:text_tag("given", N and N:get_child_text("GIVEN"))
-		:text_tag("additional", N and N:get_child_text("MIDDLe"))
+		:text_tag("additional", N and N:get_child_text("MIDDLE"))
 		:text_tag("prefix", N and N:get_child_text("PREFIX"))
 		:text_tag("suffix", N and N:get_child_text("SUFFIX"))
 	:up();