From: skodak Date: Tue, 23 Sep 2008 21:15:41 +0000 (+0000) Subject: MDL-16644 removing stripslahses() and friends X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4370f063b36f1a010ab7a753b28efd1a05cb8593;p=moodle.git MDL-16644 removing stripslahses() and friends --- 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 );