diff --git a/index.php b/index.php
index c18e07d..d2baf6f 100644
--- a/index.php
+++ b/index.php
@@ -99,8 +99,8 @@ function read_gps_location($file)
echo ("
Directory doesn't exist
- - Create $photo_dir and " . $photo_dir . "tims directories.
- - Add photos to the $photo_dir directory.
+ - Create " . htmlentities($photo_dir) . " and " . htmlentities($photo_dir) . "tims directories.
+ - Add photos to the " . htmlentities($photo_dir) . " directory.
- Refresh this page.
");
exit;
@@ -357,7 +357,7 @@ function show_pagination($current_page, $last_page, $sub_photo_dir)
$info = "" . $photo_info . "";
$Parsedown = new Parsedown();
// Show photo, EXIF data, description, and info
- echo '' . $comment . ' ' . $Parsedown->text($description) . '
' . $info . '
';
+ echo '
' . $comment . ' ' . $Parsedown->text($description) . '
' . $info . '
';
}
// Show links