Skip to content

Commit

Permalink
Fixed issue #06003: Text truncated after single quote when browsing r…
Browse files Browse the repository at this point in the history
…esponses to Multiple short text question.
  • Loading branch information
TMSWhite committed May 16, 2012
1 parent c01f90b commit 1e7d59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/dataentry.php
Expand Up @@ -600,7 +600,7 @@
case "Q":
case "K":
$dataentryoutput .= "\t{$fname['subquestion']}&nbsp;<input type='text' name='{$fname['fieldname']}' value='"
.$idrow[$fname['fieldname']] . "' />\n";
.htmlspecialchars($idrow[$fname['fieldname']],ENT_QUOTES) . "' />\n";
break;
case "id":
$dataentryoutput .= "<span style='font-weight:bold;'>&nbsp;{$idrow[$fname['fieldname']]}</span>";
Expand Down

0 comments on commit 1e7d59b

Please sign in to comment.