RichTextBox: Importing and editing HTML document containing <pre> tag causes content to not be rendered, invalid layout and occasional NullReferenceException
Documents containing <pre> tag and line breaks (CR LF) cause unexpected visual behavior (loss of content) and invalid layout. Sporadically, document positions seem to also get invalid which leads to exceptions.