OpenXML Filter: the paragraph mark is not fully treated as deleted

The WordprocessingML constructions of the p > pPr > rPr > del type, e.g.:

    <w:p>
      <w:pPr>
        <w:rPr>
          <w:del w:id="0" w:author="User" w:date="2019-07-25T14:32:00Z"/>
        </w:rPr>
      </w:pPr>

have to be considered this way: the contents of the paragraph, which has pPr > rPr > del, are no longer delimited by the paragraph mark, and are combined with the following paragraph.

From user point of view, a document with the following content, where P2 was deleted and then the . Added after deletion. was added later,

has to be represented as

after accepting revisions.

Currently, the filter handles a corner case with the only 1 available paragraph correctly but does not combine the content with the next paragraph if it is present:

For more details please refer to the attached documents.

Assignee Loading
Time tracking Loading