-
-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaks include undesired spaces #213
Comments
It appears that the A PR fix is here for The other options are to:
I am willing to help with this if you let me know which solution you would prefer. |
See dolanmiu#213 Empty XML nodes are not closed and can have spaces in them which adds unwanted spaces in Word documents when indenting. This will allow
Never mind. I was using |
👍 |
Both I simply have the following function, which I call after I've created the Document object
Any suggestions? |
I'll need to look into this |
Thank you, @dolanmiu. For now, I have solved the problem with the following line:
|
paragraph.createTextRun().break();
is adding a bunch of spaces on the line of the break.I think it might be because a linebreak is added to the
document.xml
like this:and should be like this:
or
The text was updated successfully, but these errors were encountered: