Skip to content

Street address empty when using Ezvcard.writeHtml  #19

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

VCard vcard = new VCard();

StructuredName name = new StructuredName();
name.setGiven("John");
name.setFamily("Smith");
vcard.setStructuredName(name);
vcard.setGender(Gender.male());

Address address = new Address();
address.addType(AddressType.HOME);
address.setLocality("City");
address.setStreetAddress("1234 Somestreet");

vcard.addAddress(address);

String html = Ezvcard.writeHtml(vcard).go();
System.out.println(html);

What is the expected output?

...
<span class="street-address">1234 Somestreet</span><br />
...

What is the actual output?

...
<span class="street-address"></span><br />
...

What version of ez-vcard are you using?
0.9.5

What version of Java are you using?
1.7.0

Please provide any additional information below.


Original issue reported on code.google.com by david.sp...@gmail.com on 15 Sep 2014 at 11:25

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions