Skip to content

Conversation

@pmoehl
Copy link

@pmoehl pmoehl commented Mar 7, 2019

This PR fixes lost whitespaces in and between scripts.

A space is lost if the replacement results in an element with leading or trailing spaces:
<w:t>one two </w:t>
instead of
<w:t xml:space="preserve">one two </w:t>

Edit: Made the behavior an opt-in because it can be a breaking change for some templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant