Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: HTML editor converts special characters to html entities within equations

HTML editor converts special characters to html entities within equations 4 Monate 4 Wochen her #105844

  • ctreisch
  • ctreischs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 1
  • Karma: 0
In Version 2.00+ Build 131107 one special character (">") that is within equations that are part of a question (Expression Manager) gets converted by the equation editor to an HTML entity (">"), thus breaking the equation.

Steps what I did:
I imported a new question with an equation containing {if(choiceSet4Variant >= 1, choiceSet4Variant, floor(rand(1, 2.9999)))} in "source" view, saved and closed the question without modifying,
the equation then got converted to
{if(choiceSet4Variant & g t ;= 1, choiceSet4Variant, floor(rand(1, 2.9999)))}, which I could see when I hit the "source" view button. [& g t ; without blanks of course]

This is not a "source view only" problem, but the equation is not executed and/or stored.

The same problem has been reported as beeing fixed in Version 2.00 (see bugs.limesurvey.org/view.php?id=6536).
Letzte Änderung: 4 Monate 4 Wochen her von ctreisch.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.121 Sekunden
Donation Image