X-Git-Url: https://source.tree.se/git?p=treecutter.git;a=blobdiff_plain;f=xinclude%2Fcontact.py;h=74d97008c9f993d584073fa2dec02a34e4cad9b9;hp=379a33607fff3e10a1da373c831600ab1474f5c8;hb=05f5b86d6cb584042033f5fe45680bdad9783b33;hpb=9b3290832eabbc01e6deccd6202a8e26b9ec507d
diff --git a/xinclude/contact.py b/xinclude/contact.py
index 379a336..74d9700 100755
--- a/xinclude/contact.py
+++ b/xinclude/contact.py
@@ -78,25 +78,25 @@ if 'n' in found.contents.keys():
if not empty:
pn += ''
if n.prefix != '':
- pn += ''+n.prefix+''
+ pn += ''+n.prefix+' '
if n.given != '':
- pn += ''+n.given+''
+ pn += ''+n.given+' '
if n.additional != '':
- pn += ''+n.additional+''
+ pn += ''+n.additional+' '
if n.family != '':
- pn += ''+n.family+''
+ pn += ''+n.family+' '
if n.suffix != '':
- pn += ''+n.suffix+''
+ pn += ''+n.suffix+' '
pn += ''
ad = ''
if 'adr' in found.contents.keys():
for a, t in zip(found.contents['adr'],found.contents['tel']):
- ad += '\n
'
+ ad += '\n '
if a.value.street != '':
ad += ''+a.value.street+''
if a.value.code != '':
- ad += ''+a.value.code+''
+ ad += ''+a.value.code+' '
if a.value.city != '':
ad += ''+a.value.city+''
if a.value.country != '':
@@ -120,7 +120,8 @@ if 'org' in found.contents.keys():
url = ''
if 'url' in found.contents.keys():
- url += ''
+ url += ' '
+
geo = ''
#if 'geo' in found.contents.keys():
# (lat,lon) = found.geo.value.split(';')