GenerateClipboardHtml(): Swapped function specific error codes.