diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php
index a34c92ee42207566bd270a2ceae5a6c35384f5c2..27dc8bfc382f60591d2720502b5b982317b593ed 100644
--- a/apps/files_versions/history.php
+++ b/apps/files_versions/history.php
@@ -28,7 +28,7 @@ $tmpl = new OCP\Template( 'files_versions', 'history', 'user' );
 if ( isset( $_GET['path'] ) ) {
 
 	$path = $_GET['path'];
-	$path = strip_tags( $path );
+	$path = $path;
 	$tmpl->assign( 'path', $path );
 	$versions = new OCA_Versions\Storage();