-
-
Notifications
You must be signed in to change notification settings - Fork 615
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
Problem with <br> and \n in simple table #364
Comments
@simonbengtsson is this possible or any alternate to this ? |
I have added below hack to render HTML in table cells, hope it helps. File: jspdf.plugin.autotable.js After this below code Please add below code
|
I might misunderstand but is this a feature request for adding support for automatically converting |
The way to support this use case currently is by converting the EDIT: |
good solution from @simonbengtsson .. but I would suggest adding it like this:
This way the code that might be displayed on the page, before exporting will still be fine also |
@arjunkolagatla thanks a lot. |
does this still work in the latest version of jspdf-autotable? |
Hello,
I use 'autoTable' to create a simple table. Everything works fine, but I can not do line breaks with the
'<br>'
tag or \n in cells.Can you help me ?
My code :
Result :
![sans titre](https://user-images.githubusercontent.com/21955090/41330232-72847946-6ed2-11e8-8658-1d698e268353.jpeg)
The text was updated successfully, but these errors were encountered: