From 4370f063b36f1a010ab7a753b28efd1a05cb8593 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 23 Sep 2008 21:15:41 +0000 Subject: [PATCH] MDL-16644 removing stripslahses() and friends --- mod/scorm/aicc.php | 2 +- question/format/qti_two/format.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/scorm/aicc.php b/mod/scorm/aicc.php index e02ec4a75c..aadf2241d9 100755 --- a/mod/scorm/aicc.php +++ b/mod/scorm/aicc.php @@ -247,7 +247,7 @@ $value .= $datarow; next($datarows); } - $value = rawurlencode(stripslashes($value)); + $value = rawurlencode($value); $id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value); } } diff --git a/question/format/qti_two/format.php b/question/format/qti_two/format.php index 5791381a22..66dea840c4 100644 --- a/question/format/qti_two/format.php +++ b/question/format/qti_two/format.php @@ -288,7 +288,7 @@ function handle_questions_media(&$questions, $path, $courseid) { // results are first written into string (and then to a file) $count++; - echo "

$count. ".stripslashes($question->questiontext)."

"; + echo "

$count. ".$question->questiontext."

"; $expout = $this->writequestion( $question , null, true, $path) . "\n"; $expout = $this->presave_process( $expout ); -- 2.39.5