View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19249 | Bug reports | Print View | public | 2023-11-17 21:41 | 2026-10-13 11:50 |
| Reporter | baxterdmutt | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.3.x | ||||
| Summary | 19249: jsPDF not printing datauri images as an image | ||||
| Description | After finishing a survey and wanting to export as a pdf, everything works as it should except a datauri image prints texts instead of the image. After doing much googling I found a suggestion that this occurred in older versions of “jsPDF” It looks like Limesurvey is using 1.53 and 2.5.1 is available. | ||||
| Steps To Reproduce | Steps to reproduceCreate a test survey Actual resultThe datauri is displayed as a long text field | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 6.2.8 to 6.3.4 at least | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | Mysql | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 7.4 | ||||
| Git branch / Pull Request URL | |||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40784 |
|
|
Fixed in Release 7.6.0+261013 |
|
|
LimeSurvey: master 07ef2260 2026-10-12 08:03 Details Diff |
Fixed issue 19249: An image filled in from an answer (e.g. a signature) was missing from the printed answers and their PDF export Dev Print answers now keep data URI images (HTMLPurifier only accepts real PNG, GIF and JPEG content) Dev Pasting or dropping an image file into the HTML editor no longer embeds it as a huge base64 data URI into the text |
Affected Issues 19249 |
|
| mod - application/controllers/PrintanswersController.php | Diff File | ||
| mod - application/helpers/viewHelper.php | Diff File | ||
| mod - assets/packages/ckeditor/config.js | Diff File | ||
| add - tests/unit/helpers/ViewHelperPurifiedTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-11-17 21:41 | baxterdmutt | New Issue | |
| 2026-10-12 08:07 | c_schmitz | Changeset attached | => LimeSurvey master 07ef2260 |
| 2026-10-12 08:07 | c_schmitz | Note Added: 86320 | |
| 2026-10-12 08:07 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-12 08:07 | c_schmitz | Status | new => resolved |
| 2026-10-12 08:07 | c_schmitz | Resolution | open => fixed |
| 2026-10-12 08:07 | c_schmitz | Bug heat | 0 => 2 |
| 2026-10-13 11:50 | LimeBot | Note Added: 86383 | |
| 2026-10-13 11:50 | LimeBot | Status | resolved => closed |
| 2026-10-13 11:50 | LimeBot | Bug heat | 2 => 4 |