GenerateClipboardHtml(): Create own FormatInfo structure, count linebreaks.
TagTypeLineBreak for FormatInfo (for <br> tag).
GenerateClipboardHtml(): Fill output buffer character-wise (with tags).
GenerateClipboardHtml(): Convert as much to UTF-8 at once as possible.