From c0f2bc84623e85a8e7a7b263b1bfe86dff03a123 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 9 Dec 2003 08:15:34 +0000 Subject: [PATCH] Fixed bug 812 about editing text files with backslashes in them. --- files/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/index.php b/files/index.php index df3213a63f..2260d1bbb9 100644 --- a/files/index.php +++ b/files/index.php @@ -335,7 +335,7 @@ echo " "; echo " "; echo " "; - print_textarea($usehtmleditor, 25, 80, 680, 400, "text", $contents); + print_textarea($usehtmleditor, 25, 80, 680, 400, "text", addslashes($contents)); echo ""; echo " "; echo ""; -- 2.39.5