Added converter between HTML and plain text modes