View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04483Bug reportsSurvey editingpublic2010-07-19 12:22
Reportermdekker Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.90RC2 
Summary04483: FCK editor behaves strange in <script> tag
Description

I tried to insert
<style>.slider-callout{display:none;}</style>
into a question, but the editor keeps adding <span contenteditable="false"> tags around the curly braces (one more every time i switch to code view and back)

Steps To Reproduce
  1. edit question
  2. go to full editor, code view
  3. insert the line <style>.slider-callout{display:none;}</style>
  4. switch to normal view
  5. switch to code view
Additional Information

I know the curly braces are used for the replacementfields but still...

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

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2010-07-16 15:30

updater   ~12435

I can't reproduce the problem but I run into another error: When adding
<style>.slider-callout{display:none;}</style>

the part
{display:none;}

gets removed and all that is left is
<style type="text/css">.slider-callout</style>

c_schmitz

c_schmitz

2010-07-19 12:22

administrator   ~12458

<style>.slider-callout{display:none;}</style>

in a question or group is not a valid HTML.
<style> tags are only allowed in the HEAD of a HTML document and even then it is bad style ;)

Issue History

Date Modified Username Field Change
2010-07-16 12:07 mdekker New Issue
2010-07-16 15:30 Mazi Note Added: 12435
2010-07-16 15:31 Mazi Assigned To => lemeur
2010-07-16 15:31 Mazi Status new => assigned
2010-07-19 12:22 c_schmitz Note Added: 12458
2010-07-19 12:22 c_schmitz Status assigned => closed
2010-07-19 12:22 c_schmitz Assigned To lemeur => c_schmitz
2010-07-19 12:22 c_schmitz Resolution open => no change required
2010-10-25 00:17 c_schmitz Category Survey Design => Survey design
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing