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

HTML - Catch exceptions which occur in jspdf plugin because of invalid HTML content #230

Open
JaneSjs opened this issue Apr 25, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Apr 25, 2023

Survey HTML content may contain invalid characters; therefore, the survey PDF export fails with an exception which occurs in the jspdf plugin.
To resolve the issue, it is necessary to locate incorrect symbols and replace them.
However, the main problem here is that it is difficult to determine why the exception is thrown and which particular symbols are not supported (examples: specific quotes (), or multiple </br></br> tags). There is no indication of unsupported symbolx.

Suggestion: catch exceptions which occurs in jspdf when exporting invalid HTML.

@JaneSjs JaneSjs added enhancement New feature or request user issue An issue or bug reported by users. labels Apr 25, 2023
@OlgaLarina OlgaLarina added this to the v1.9.86 milestone Apr 25, 2023
@OlgaLarina OlgaLarina removed this from the v1.9.86 milestone May 23, 2023
@JaneSjs
Copy link
Contributor Author

JaneSjs commented Aug 12, 2024

#326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user issue An issue or bug reported by users.
Projects
None yet
Development

No branches or pull requests

3 participants