View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05747Bug reportsOtherpublic2012-02-14 14:10
ReporterTMSWhite Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.92RC3 
Target Version1.92RC4Fixed in Version1.92RC4 
Summary05747: question display sometimes only shows part of EM syntax-highlighted equations
Description

Sometimes the equation is cut off - probably a problem with FlattenText

Steps To Reproduce

hBMIreport variable in attached survey

TagsNo tags attached.
Attached Files
using_hidden_values.lss (40,020 bytes)
Bug heat4
Complete LimeSurvey version number (& build)12307
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-02-02 18:46

reporter   ~17183

This is a bug in PHP strip_tags, not LimeSurvey.

In some cases, if an equation contains < or <=, strip_tags() will truncate the pretty-print string. Using lt or le instead of < and <= avoids this problem.

However, this is just a display issue. The Show Logic File will show the full equation even if the admin question view doesn't (so users don't need to change their equations). Also, the equation does get properly processed by EM.

c_schmitz

c_schmitz

2012-02-14 14:10

administrator   ~17417

1.92RC4 released

Issue History

Date Modified Username Field Change
2012-02-02 18:20 TMSWhite New Issue
2012-02-02 18:20 TMSWhite Status new => assigned
2012-02-02 18:20 TMSWhite Assigned To => TMSWhite
2012-02-02 18:20 TMSWhite File Added: using_hidden_values.lss
2012-02-02 18:46 TMSWhite Note Added: 17183
2012-02-02 18:46 TMSWhite Status assigned => resolved
2012-02-02 18:46 TMSWhite Resolution open => no change required
2012-02-06 14:32 c_schmitz Fixed in Version => 1.92RC4
2012-02-14 14:10 c_schmitz Note Added: 17417
2012-02-14 14:10 c_schmitz Status resolved => closed