Skip to content

Commit

Permalink
Fixed issue #05804: Equation question type does not work in all templ…
Browse files Browse the repository at this point in the history
…ates

Dev switched to using <div> instead of <span> to ensure passes HTML4 validation

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12438 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
tmswhite committed Feb 10, 2012
1 parent 679aba1 commit 359bff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/replacements_helper.php
Expand Up @@ -251,7 +251,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
}
else if ($_question_type == '*')
{
$_question_text = '<span class="em_equation">' .$_question_text. '</span>';
$_question_text = '<div class="em_equation">' .$_question_text. '</div>';
}

if (!(
Expand Down

0 comments on commit 359bff4

Please sign in to comment.