diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-04 12:53:58 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-04-04 17:52:44 +0000 |
commit | 4763a1263f9831ce06fbc200e2ec70f772ba735b (patch) | |
tree | 9b21021d4b2a77a7868c2cded154417ffe6c25c2 /apps/files/js/sidebarpreviewtext.js | |
parent | 43220c6393d6a1fca722b28c062f176968088802 (diff) | |
download | nextcloud-server-4763a1263f9831ce06fbc200e2ec70f772ba735b.tar.gz nextcloud-server-4763a1263f9831ce06fbc200e2ec70f772ba735b.zip |
Explicitly close div element
Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files/js/sidebarpreviewtext.js')
-rw-r--r-- | apps/files/js/sidebarpreviewtext.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/sidebarpreviewtext.js b/apps/files/js/sidebarpreviewtext.js index 3053cd6945d..f786a9a3e4d 100644 --- a/apps/files/js/sidebarpreviewtext.js +++ b/apps/files/js/sidebarpreviewtext.js @@ -25,7 +25,7 @@ $thumbnailDiv.removeClass('icon-loading icon-32'); $thumbnailContainer.addClass('large'); $thumbnailContainer.addClass('text'); - var $textPreview = $('<pre/>').text(content); + var $textPreview = $('<pre></pre>').text(content); $thumbnailDiv.children('.stretcher').remove(); $thumbnailDiv.append($textPreview); $thumbnailContainer.css("max-height", previewHeight); |