View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08592 | Bug reports | Survey editing | public | 2014-01-24 18:37 | 2014-01-31 17:32 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08592: Bad HTML in question break layout | ||||
Description | If user put bad HTML in question text, it can break completely the layout. | ||||
Steps To Reproduce | Deactivate HTML editor | ||||
Additional Information | If user put <span style="font-size:50px">Great title</span> the great title are show wit 50px . | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 140124 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | not relevant | ||||
Webserver software & version (if known) | not relevant | ||||
PHP Version | not relevant | ||||
A way to corect this: We flatten the text before templatereplace: there are no way to see some error. But not sure actually there are a way to see some error. For survey logic file : adding </td> (closing cell) break layout. This was silly .... some user want to use script But i think it can break some using. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13776 |
|
Only fix "Question view" actually. |
|
LimeSurvey 2-05+ Build 140131 released |
|
LimeSurvey: master 2de5433e 2014-01-26 17:05 Details Diff |
Fixed issue 08592: Bad HTML in question break layout Dev: FlattenText before LEM, but don't change really error viewing Dev: FlattenText can be replaced with : strip_tags or CHtml::pirifier if needed |
Affected Issues 08592 |
|
mod - application/views/admin/survey/Question/questionbar_view.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-24 18:37 | DenisChenu | New Issue | |
2014-01-24 18:37 | DenisChenu | File Added: Capture du 2014-01-24 18:35:10.png | |
2014-01-24 18:37 | DenisChenu | File Added: Capture du 2014-01-24 18:36:16.png | |
2014-01-24 18:37 | DenisChenu | File Added: Capture du 2014-01-24 18:36:48.png | |
2014-01-24 18:40 | DenisChenu | File Added: Capture du 2014-01-24 18:39:57.resized.png | |
2014-01-24 19:16 | DenisChenu | Note Added: 28126 | |
2014-01-24 19:17 | DenisChenu | Note Edited: 28126 | |
2014-01-24 19:35 | DenisChenu | Note Edited: 28126 | |
2014-01-26 16:58 | DenisChenu | File Added: limesurvey_survey_BrokenLayout.lss | |
2014-01-26 16:58 | DenisChenu | Assigned To | => DenisChenu |
2014-01-26 16:58 | DenisChenu | Status | new => assigned |
2014-01-26 17:05 | DenisChenu | Changeset attached | => LimeSurvey master 2de5433e |
2014-01-26 17:05 | DenisChenu | Note Added: 28214 | |
2014-01-26 17:05 | DenisChenu | Resolution | open => fixed |
2014-01-26 17:07 | DenisChenu | Note Added: 28215 | |
2014-01-26 17:07 | DenisChenu | Status | assigned => resolved |
2014-01-26 17:07 | DenisChenu | Fixed in Version | => 2.05+ |
2014-01-31 17:32 | c_schmitz | Note Added: 28350 | |
2014-01-31 17:32 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |