Skip to content
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

Wrong .docx to .html translation with extra line breaks #717

Open
rinart73 opened this issue Jan 31, 2016 · 5 comments
Open

Wrong .docx to .html translation with extra line breaks #717

rinart73 opened this issue Jan 31, 2016 · 5 comments

Comments

@rinart73
Copy link

rinart73 commented Jan 31, 2016

So, there is a part of my .docx file:

ООО «Продавец», юридическое лицо созданное и существующее в соответствии с законодательством Российской Федерации, находящееся по адресу: г.Москва, ул.Пушкина, 110/4, в лице Иванова Ивана Ивановича, именуемое в дальнейшем "Продавец", с одной стороны,

и ООО "СвязьПром", юридическое лицо созданное и существующее в соответствии с законодательством Российской Федерации, находящееся по адресу: г.Санкт-Петербург, ул. Ленина 11/2, в лице Петров Петр Петрович, именуемое в дальнейшем "Покупатель", с другой стороны,

And then I get:

<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">ООО «Продавец»</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, юридическое лицо созданное и существующее в соответствии с законодательством Российской Федерации, находящееся по адресу: </span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">г.Москва, ул.Пушкина, 110/4</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, в лице </span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">Иванова Ивана Ивановича</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, именуемое в дальнейшем "Продавец", с одной стороны,</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';"></span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">и </span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri'; font-weight: bold;">ООО "СвязьПром"</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, юридическое лицо созданное и существующее в соответствии с законодательством </span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">Российской Федерации</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, находящееся по адресу: </span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri'; font-weight: bold;">г.Санкт-Петербург, ул. Ленина 11/2</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, в лице </span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri'; font-weight: bold;">Петров Петр Петрович</span></p>
<p style="margin-top: 2.85pt; margin-bottom: 2.85pt;"><span style="font-family: 'Calibri';">, именуемое в дальнейшем "Покупатель", с другой стороны,</span></p>

As you can see, for some reason text splits into parts.

Actually I'm trying to convert .docx to .pdf, but .html is the middle step, where this bug appears.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@DarthLegiON
Copy link

I have the same problem trying export to PDF. Exported file is full of extra line breaks, but original modified and saved file in docx is correct.

@vinigarcia87
Copy link

Same problem here!
HTML gets all messy... :S

@wqj97
Copy link

wqj97 commented Apr 14, 2017

still have this problem today

@dmitryuk
Copy link

dmitryuk commented Sep 8, 2017

Still problem no solution

@troosan
Copy link
Contributor

troosan commented Sep 12, 2017

@xakzona did you try with the latest development version or 0.13?

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

No branches or pull requests

6 participants