View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05465Bug reportsData Entry (non public)public2011-10-20 10:35
ReporterDenisChenu Assigned Tomagiclko 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00a1 
Target Version2.00a1Fixed in Version2.00a1 
Summary05465: Unable to have inline style in description/question ....
Description

When you use ckeditor or not, you are unabe to add inline style in question texte, description etc ....

Steps To Reproduce

Create a new survey, deactivate ckeditor.

Pout this in description
<pre>
<span class="texte" style="color:red">A test</span>
</pre>

And click to save
The database was fill with:
<pre>
<span class="texte">A test</span>
</pre>

If you fill with
<pre><span style="color:red"><span style="background:green">bkjhhkgu</span></span></pre>
Then database content:
<pre><span>span style="background:green">bkjhhkgu</span></span></pre>

Additional Information

I test with log in Database class with action==updatesurveylocalesettings

$description =$POST['description'.$langname];
log_message('debug','DESC :'.$description);

And description are already clean without the style.

Class is OK.

Maybe something in CI configuration ?
I trye with or without cleanXSS

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)10992
I will donate to the project if issue is resolvedNo
BrowserFirefox 3.6
Database type & versionMysql 5.1.49
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.3.3-7

Users monitoring this issue

There are no users monitoring this issue.

Activities

magiclko

magiclko

2011-09-18 13:16

reporter   ~16295

Shnoulle: It works at rev 10997 on windows. Can you please update and check again?

DenisChenu

DenisChenu

2011-09-18 15:36

developer   ~16296

I test again with 11008 ith:
Firefox 3.6 and Chromium
Put suhosin on simulation

And i test to with devdemo:
http://devdemo.limesurvey.org/index.php/admin/survey/view/96794
And i have same problem :).

magiclko

magiclko

2011-09-18 15:44

reporter   ~16297

weird. I just tested on devdemo and it's working! I just tried 2 spans and 1 span style. And it's showing correctly in survey summary. Maybe i'm missing something here?

DenisChenu

DenisChenu

2011-09-18 15:56

developer   ~16298

Last edited: 2011-09-18 15:57

No you put the HTML code directly in the ckeditor window, and you don't use ckeditor.

Look at the HTML source. Or deacivate ckeditor.

User with ckeditor can use full screen to put style (span style="background:red").

:)

I deactivate ckeditor to be more clearly.

Maybe someting in ckeditor ?????

DenisChenu

DenisChenu

2011-10-20 10:35

developer   ~16481

Fixed with http://limesurvey.svn.sourceforge.net/limesurvey/?rev=11221&amp;view=rev ( i think)

Issue History

Date Modified Username Field Change
2011-09-17 14:08 DenisChenu New Issue
2011-09-17 14:09 DenisChenu Additional Information Updated
2011-09-18 12:57 c_schmitz Assigned To => magiclko
2011-09-18 12:57 c_schmitz Status new => assigned
2011-09-18 13:16 magiclko Note Added: 16295
2011-09-18 15:36 DenisChenu Note Added: 16296
2011-09-18 15:44 magiclko Note Added: 16297
2011-09-18 15:56 DenisChenu Note Added: 16298
2011-09-18 15:57 DenisChenu Note Edited: 16298
2011-10-20 10:35 DenisChenu Note Added: 16481
2011-10-20 10:35 DenisChenu Status assigned => closed
2011-10-20 10:35 DenisChenu Resolution open => fixed
2011-10-20 10:35 DenisChenu Fixed in Version => 2.00a1