LayoutCollector.GetEntity returns NULL for Paragraph in Table Cell using .NET

ParagraphGetEntityBug.zip (13.2 KB)
I’ve experienced a bug using the GetEntity function of the LayoutCollector. It returns null in a specific situation.
The zip file contains the document which causes the bug and code to reproduce it.
This is probably reproduceable with more than one paragraph in this document.

@Jan_Kratzert

We have logged this problem in our issue tracking system as WORDSNET-22256. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@Jan_Kratzert

It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-22256) as ‘Not a Bug’.

The first paragraph break is hidden and not rendered in the document while content of a paragraph is merged into the second paragraph in a cell. Please check the attached image for detail. Hidden Formatting.png (41.4 KB)

Please remove the hidden formatting of paragraph to avoid this issue.