Question: I am converting html to pdf using jspdf library. i am facing two problems.

1. When i am using pagesplit: true ,it splits the page but the problem is half of data in li remains in first page and half comes in second page and so on.
2.in my image tag src link is not contains extension. It fetchs from url. For eg:"<http://pics.redblue.de/doi/pixelboxx-mss-55590672/fee_786_587_png>", but in pdf image not displaying. If i pass src link ends with extension it is displaying in pdf.But i am using not extension format.
I searched much for both but didn't find any solution. Please help me ... Thanks in advance

Answer: 
For your 2nd question: 

You can use base64 encoded images. It works with jspdf.
To convert image into base64, check this: [How to convert image into base64 string using javascript](https://stackoverflow.com/questions/6150289/how-to-convert-image-into-base64-string-using-javascript)
1 You need to check the pdf size and adjust it.

2 The base64 image renders in the jspdf. You can use this link for getting base64 code and paste it in img src value <https://www.base64-image.de/>