View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05356Bug reportsSurvey editingpublic2011-08-02 17:18
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Target Version1.91+Fixed in Version1.91+ 
Summary05356: Can not add some html in other_replace_text
Description

Hello,

In 1.90, we can add some html in other_replace_text sentence, then we can use (for example) some strong, span class="special", span lang="en" etc .... word.

Now other_replace_text html tag are replace by:
& gt; strong & lt;

Steps To Reproduce

Try to put
Other<br><small>Some other option</small>

Additional Information

We can use some workaround for multilanguage other_replace_text

In template.css:
body:lang(en) span:lang(fr){display:none}
body:lang(fr) span:lang(en){display:none}

For example, easy to do and explain.

Now we have to add the Other text in each langage (and we can't do some multiline other_replace_text

Easy to modifiy:
qanda.php
-- $othertext=$clang->gT($qidattributes['other_replace_text']);
++ $othertext=$qidattributes['other_replace_text'];

(can do the job if OK)

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)10494
I will donate to the project if issue is resolvedNo
BrowserFirefox,chrome, IE9 for lang(en) css attribute
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 05320 closedc_schmitz No multilanguage support for label "other" 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-07-25 18:41

administrator   ~15862

Shnoulle,
I think your proposition is smarter indeed. Please commit your fix.

DenisChenu

DenisChenu

2011-07-25 20:01

developer   ~15868

OK,

Maybe just add some filter ( xss for example).

Tks

DenisChenu

DenisChenu

2011-07-26 17:40

developer   ~15870

Revision: 10591
Fixed issue 05356 : can not add html element in other_replace_text
Fixed issue : other_replace_text aren't filter if filterxsshtml are set
Dev: remove translation of other_replace_text in qanda.php
Dev: filter all attribute if filterxsshtml is set

c_schmitz

c_schmitz

2011-08-02 17:18

administrator   ~15936

1.91+ version released.

Issue History

Date Modified Username Field Change
2011-07-21 14:58 DenisChenu New Issue
2011-07-21 15:00 DenisChenu Relationship added related to 05320
2011-07-25 18:41 c_schmitz Note Added: 15862
2011-07-25 18:41 c_schmitz Assigned To => DenisChenu
2011-07-25 18:41 c_schmitz Status new => assigned
2011-07-25 20:01 DenisChenu Note Added: 15868
2011-07-26 17:40 DenisChenu Note Added: 15870
2011-07-26 17:40 DenisChenu Status assigned => resolved
2011-07-26 17:40 DenisChenu Fixed in Version => 1.91+
2011-07-26 17:40 DenisChenu Resolution open => fixed
2011-08-02 17:18 c_schmitz Note Added: 15936
2011-08-02 17:18 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing