Default line folding line length is not null
Opened this issue · 1 comments
KlyukinSA commented
Now to create usual plain text I have to do like so:
VCardWriter writer = ...;
writer.getVObjectWriter().getFoldedLineWriter().setLineLength(null);
writer.write(vcard);
p.s. line folding is adding "\n "
in text so it's lines are not longer than 75 (or other number). it is convenient to read but it breaks urls and encoded data
mangstadt commented
The program that consumes the vCard is responsible for unfolding any folded lines. However, you can disable line folding if you choose, as you have done.