diff --git a/tpl/home.php b/tpl/home.php index 286d73a..ba02dba 100755 --- a/tpl/home.php +++ b/tpl/home.php @@ -748,9 +748,9 @@
= L('rename_vertex')?>
= L('rename_text')?>
-= isset($_POST["matrix"]) ? $_POST["matrix"] : ""?>
-= isset($_POST["separator"]) ? $_POST["separator"] : ""?>
-= isset($_POST["incidenceMatrix"]) ? $_POST["incidenceMatrix"] : ""?>
+= isset($_POST["matrix"]) ? htmlspecialchars ($_POST["matrix"]) : ""?>
+= isset($_POST["separator"]) ? htmlspecialchars ($_POST["separator"]) : ""?>
+= isset($_POST["incidenceMatrix"]) ? htmlspecialchars ($_POST["incidenceMatrix"]) : ""?>
= isset($_POST["pairs"]) ? str_replace("<", "<", str_replace(">", ">", $_POST["pairs"])) : ""?>
= L('current_language')?>
= L('edit_weight')?>