Re: Carriage returns in Comments Document property bug

Hi
Thanks for your inquiry. I managed to reproduce this issue. It seems that special character “\r” is no needed here. If you use “Hello\r\nWorld!” then in the document property you will get the following value:
<dc:description>Hello_x000d_ World!</dc:description>
It seems to be that MS Word ignores “x000d”.
As a workaround you ca use the following string:

string comment = "Hello\nWorld!";

In this case dc:description looks like the following:
<dc:description>Hello World!</dc:description>
And Aspose.Words returns correct result.
Any way I created new issue #5713.
Best regards.

The issues you have found earlier (filed as 5713) have been fixed in this update.