Skip to content

Commit

Permalink
Fixed a bug where Scrubber was eating <'s (2760)
Browse files Browse the repository at this point in the history
Fixed incorrect text when viewing a problem via the library
  • Loading branch information
goehle committed Sep 10, 2013
1 parent 5183fe4 commit 12d369c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ sub pre_header_initialize {
default=> 1,
script => 0,
process => 0,
comment => 0
comment => 1
);
foreach my $key (keys %$formFields) {
if ($key =~ /AnSwEr/) {
Expand Down
2 changes: 1 addition & 1 deletion lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ sub initialize {
default=> 1,
script => 0,
process => 0,
comment => 0
comment => 1
);

my $comment = $scrubber->scrub( ( defined $r->param("$userID.comment") )?$r->param("$userID.comment"):'' );
Expand Down
2 changes: 1 addition & 1 deletion lib/WeBWorK/ContentGenerator/Problem.pm
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ sub pre_header_initialize {
default=> 1,
script => 0,
process => 0,
comment => 0
comment => 1
);
foreach my $key (keys %$formFields) {
if ($key =~ /AnSwEr/) {
Expand Down
2 changes: 1 addition & 1 deletion lib/WeBWorK/Localize/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ msgstr "Prev"

#
msgid "navProbListGrey"
msgstr "tr: Up"
msgstr "Up"

#
msgid "navNextGrey"
Expand Down
2 changes: 1 addition & 1 deletion lib/WeBWorK/Localize/en_us.po
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ msgstr "Prev"

#
msgid "navProbListGrey"
msgstr "tr: Up"
msgstr "Up"

#
msgid "navNextGrey"
Expand Down

0 comments on commit 12d369c

Please sign in to comment.