View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04701Bug reportsOtherpublic2010-11-03 20:41
Reporteruser10291Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Fixed in Version1.90+ 
Summary04701: LS keeps inserting spaces in my help fields
Description

Every time I come back to a question and edit it again, the empty help field gets filled with a space. You might think that would be innocuous, but unfortunately having a truly empty help field is critical if I don't want it to take up vertical whitespace, which is important for my application.

Steps To Reproduce

Create a question with an empty help field. Save. Edit the question again. Note that the help field contains a space.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)1.9
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-10-26 15:58

administrator   ~13348

Last edited: 2010-10-26 20:27

It contains a linebreak <br /> but if you look on the table questions directly you will noticed that it gets filtered on save - at least it does here.
So it cannot be displayed. Have you checked the HTML source on the displayed page and see if there is really a space?

user10291

2010-10-27 02:45

  ~13351

Last edited: 2010-10-27 02:48

My "Help" field contains the character entity for a non-breaking space: "&nbsp;" that is regenerated every time I edit it. It is displayed as a regular (breaking) space within the <div id="survey-question-help"> </div> pair. If I explicitly delete it and save the item again, it does not show up at all.

c_schmitz

c_schmitz

2010-10-27 02:49

administrator   ~13352

Weird, what browser are you using?

user10291

2010-10-27 03:08

  ~13353

Safari 5, but observed also with Chrome on MacOS. Hard to imagine this being a browser issue, though.

c_schmitz

c_schmitz

2010-10-28 02:46

administrator   ~13365

I can confirm that it is a browser issue, Chrome and Safari insert a non-breaking space instead of a linebreak.

Fixed in rev. 9350

c_schmitz

c_schmitz

2010-11-03 20:41

administrator   ~13410

Fix was released in latest 1.90+ version.

Issue History

Date Modified Username Field Change
2010-10-26 00:35 user10291 New Issue
2010-10-26 15:42 c_schmitz Project @9@ => Bug reports
2010-10-26 15:43 c_schmitz Assigned To => c_schmitz
2010-10-26 15:43 c_schmitz Status new => assigned
2010-10-26 15:58 c_schmitz Note Added: 13348
2010-10-26 15:58 c_schmitz Status assigned => feedback
2010-10-26 20:27 c_schmitz Note Edited: 13348
2010-10-27 02:45 user10291 Note Added: 13351
2010-10-27 02:45 user10291 Status feedback => assigned
2010-10-27 02:48 user10291 Note Edited: 13351
2010-10-27 02:49 c_schmitz Note Added: 13352
2010-10-27 02:58 c_schmitz Status assigned => feedback
2010-10-27 03:08 user10291 Note Added: 13353
2010-10-27 03:08 user10291 Status feedback => assigned
2010-10-28 02:46 c_schmitz Note Added: 13365
2010-10-28 02:46 c_schmitz Status assigned => resolved
2010-10-28 02:46 c_schmitz Fixed in Version => 1.90+
2010-10-28 02:46 c_schmitz Resolution open => fixed
2010-11-03 20:41 c_schmitz Note Added: 13410
2010-11-03 20:41 c_schmitz Status resolved => closed
2011-02-11 21:57 c_schmitz Category Admin Tools => (No Category)