Return empty string from textToHtml and HtmlToText if input is empty or invalid
Merge pull request #140 from scrollback/fixcompose

Check if text is there before trimming