diff --git a/lib/file-control.php b/lib/file-control.php index c7d3bbb..dc1886a 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -32,7 +32,7 @@ if ($_GET['action']=="load") { echo "top.ICEcoder.shortURL = '".str_replace($docRoot,"",str_replace("|","/",$file))."';"; echo ''; $loadedFile = file_get_contents($file); - echo '","",$loadedFile).''; + echo '","",htmlentities($loadedFile)).''; } else { echo ''; echo '';