View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09414Bug reportsSurvey takingpublic2026-11-19 22:50
Reporteraesteban Assigned To 
PrioritynormalSeverityminor 
Status acknowledgedResolutionopen 
Summary09414: HTML tags of some types of answers should(can) be intrepeted in PDF export
Description

There are two options regarding HTML tags when exporting survey to PDF:

Questions: Survey questions can have HTML tags that are interpreted (for example ).

Answers: Usually, answers are texts without style introduced by survey user so we clean it up with "flattenText" function.

However, in some situations, survey creator have introduced intentionally HTML tags to be interpreted (for example, <img> tag if the user has to choose between some images).

Steps To Reproduce

1.- Import attached survey
2.- Take the survey
3.- Export survey to PDF

Result: See last question: <img> tags and links to images disappear in PDF file.

Additional Information

This bug was discovered and commented by Denis Chenu in bug 09409

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)141210
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionPostgresql 9.1
Server OS (if known)Debian Wheezy
Webserver software & version (if known)Apache 2.2.22
PHP Version5.4.34
Git branch / Pull Request URL

Users monitoring this issue

aesteban

Activities

DenisChenu

DenisChenu

2014-12-17 11:34

developer   ~31282

Are you sure for 2.05+ ? I think it's best with 2.06

aesteban

aesteban

2014-12-17 12:27

developer   ~31284

Fine

DenisChenu

DenisChenu

2014-12-20 11:39

developer   ~31325

Hope i have time to work on it before January ;)

Issue History

Date Modified Username Field Change
2014-12-16 18:34 aesteban New Issue
2014-12-16 18:34 aesteban File Added: limesurvey_survey_print2.lss
2014-12-17 11:32 DenisChenu Summary HTML tags of some types of answers should be intrepeted => HTML tags of some types of answers should(can) be intrepeted in PDF export
2014-12-17 11:34 DenisChenu Note Added: 31282
2014-12-17 12:27 aesteban Note Added: 31284
2014-12-17 12:39 c_schmitz Project Bug reports => @10@
2014-12-19 19:11 aesteban Issue Monitored: aesteban
2014-12-19 19:14 aesteban Product Version 2.05+ => 2.05
2014-12-20 11:39 DenisChenu Note Added: 31325
2026-11-19 22:50 c_schmitz Status new => acknowledged