Always start new run before adding the break

Merged
#248 · Created  · Last updated

Merged pull request

Merged in 24t/okapi/openxml-start-new-run-for-linebreaks (pull request #248)

c4218fb·Author: ·Closed by: ·2018-08-14

Description

Word seems to always start a new run before the break element

In most cases it does not make a difference if we add the break in the middle of the run. This is also permitted by specification and can be seen in many code examples. Nevertheless this sometimes breaks the target document: After opening the document with Word we see strange characters after the break at the position of regular spaces. The text containing these strange characters can't be copied and parts of the text will be lost if we save the document again.

0 attachments

0 comments

Loading commits...