diff options
-rw-r--r-- | apps/files_imageviewer/js/lightbox.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_imageviewer/js/lightbox.js b/apps/files_imageviewer/js/lightbox.js index fe8b9753095..7a7fb663857 100644 --- a/apps/files_imageviewer/js/lightbox.js +++ b/apps/files_imageviewer/js/lightbox.js @@ -25,7 +25,7 @@ function viewImage(dir, file) { var location=OC.filePath('files','ajax','download.php')+'?files='+file+'&dir='+dir; $.fancybox({ "href": location, - "title": file, + "title": file.replace(/</, "<").replace(/>/, ">"), "titlePosition": "inside" }); } |