Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Overstretched last line when using justified alignment #86

Open
jukesalot opened this issue Sep 22, 2020 · 0 comments
Open

Overstretched last line when using justified alignment #86

jukesalot opened this issue Sep 22, 2020 · 0 comments

Comments

@jukesalot
Copy link

Expected Behavior

When merging a document using justified alignment, I would expect that '\r\n' would act as a paragraph end in word. This would prevent the last line from being over stretched over the width of the document.

Current Behavior

Example from a random paragraph generator merges like the following:

She nervously peered over the edge. She understood in her mind that the view was supposed to be beautiful, but all she felt was fear. There had always been something about heights that disturbed her, and now she could feel the full force of this unease. She reluctantly crept a little closer with the encouragement of her friends as the fear continued to build. She couldn't help but feel that something horrible was about to happen.

Possible Solution

n\a

Steps to Reproduce (for bugs)

  1. Create template with justified alignment
  2. Merge document with a lengthy paragraph

Context

Attempting to merge a legal document.

Your Environment

  • Python version: 3.7.4
  • docx-mailmerge version: 0.8.10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant