alihassan143 / htmltopdfwidgets

Html To Pdf
https://pub.dev/packages/htmltopdfwidgets
Apache License 2.0
12 stars 19 forks source link

Package is switching lines #5

Closed Wassiem-Ibr closed 1 year ago

Wassiem-Ibr commented 1 year ago

Hello

I have been using this package to write lengthy paragraphs, so now while testing my app for production I cam across this issue, I tried to solve it but I couldn't from my side.

The issue is that when you enter a paragraph, and then press enter to add another line, and then you delete the new add line, and then generate the pdf file. the package will switch between the two lines and put the bottom one on top.

please check the attached photos to see an illustraion. photo_2023-06-27_14-57-02

photo_2023-06-27_15-05-13

even though I am giving the text to the package in the correct way.

Please can you assist to fix this issue?

alihassan143 commented 1 year ago

@Wassiem-Ibr i will fix the issues in next week currently on vacation kindly enter some htm code that causing the issue

Wassiem-Ibr commented 1 year ago
<br>Siincerely,</p><p>Noah B</p>
alihassan143 commented 1 year ago
<br>Siincerely,</p><p>Noah B</p>

@Wassiem-Ibr their is issue in the html their isno opening tag but their is closing tag

you need to provide the correct tags currently supported tag are p img list bullet list code heading