We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Re: Carriage returns in Comments Document property bug

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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.