diff --git a/arbre-prive.php b/arbre-prive.php
index 975c3e6..bb0ef65 100644
--- a/arbre-prive.php
+++ b/arbre-prive.php
@@ -198,9 +198,9 @@ function generatePrivateTree($path, $currentPath) {
if (!$hasSubfolders) {
$output .= '🖼️';
if ($hasImages) {
- $output .= '';
+ $encodedPath = htmlspecialchars(addslashes($fullPath));
+ $encodedTitle = htmlspecialchars(addslashes($info['title']));
+ $output .= '';
}
}
if (!$hasSubfolders) {