]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16644 removing stripslahses() and friends
authorskodak <skodak>
Tue, 23 Sep 2008 21:15:41 +0000 (21:15 +0000)
committerskodak <skodak>
Tue, 23 Sep 2008 21:15:41 +0000 (21:15 +0000)
mod/scorm/aicc.php
question/format/qti_two/format.php

index e02ec4a75c826a04c160f76c6638d8aebf70a69d..aadf2241d9a1798f8ee8761479cecba3e693bcf2 100755 (executable)
                                             $value .= $datarow;
                                             next($datarows);
                                         }
-                                        $value = rawurlencode(stripslashes($value));
+                                        $value = rawurlencode($value);
                                         $id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);
                                     }
                                 }
index 5791381a228b9556cbd1284e8cede64a5469fc14..66dea840c4f5d8f1aaed12e6164938808ff8e180 100644 (file)
@@ -288,7 +288,7 @@ function handle_questions_media(&$questions, $path, $courseid) {
 
             // results are first written into string (and then to a file)
             $count++;
-            echo "<hr /><p><b>$count</b>. ".stripslashes($question->questiontext)."</p>";
+            echo "<hr /><p><b>$count</b>. ".$question->questiontext."</p>";
             $expout = $this->writequestion( $question , null, true, $path) . "\n";
             $expout = $this->presave_process( $expout );