RichTextKit icon indicating copy to clipboard operation
RichTextKit copied to clipboard

\r\n is not normalized to \n by TextBlock

Open Jeremy-Price opened this issue 3 years ago • 1 comments

https://www.toptensoftware.com/richtextkit/basics claims that \r\n is normalized to \n, but doing something like

TextBlock tb = new TextBlock();
tb.AddText("X \n Y \r\n Z", style);

renders as

X
Y□
Z

Jeremy-Price avatar Aug 15 '22 23:08 Jeremy-Price

Check https://github.com/toptensoftware/RichTextKit/issues/53

ivan-h-ivanov avatar Nov 17 '23 12:11 ivan-h-ivanov