Made HTML encoding default (for iNotes compatibility) and added -p switch to force plaintext encoding.