View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05747 | Bug reports | Other | public | 2012-02-02 18:20 | 2012-02-14 14:10 |
| Reporter | TMSWhite | Assigned To | TMSWhite | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 1.92RC3 | ||||
| Target Version | 1.92RC4 | Fixed in Version | 1.92RC4 | ||
| Summary | 05747: 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 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 12307 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | Mysql 5.3 | ||||
| Server OS (if known) | Windows XP | ||||
| Webserver software & version (if known) | XAMPP | ||||
| PHP Version | 5.3 | ||||
|
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. |
|
|
1.92RC4 released |
|
| 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 |