diff --git a/js/privatebin.js b/js/privatebin.js index 4729128..21676bf 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2424,7 +2424,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { // escape HTML entities, link URLs, sanitize const escapedLinkedText = Helper.urls2links( - Helper.htmlEntities(text) + Helper.htmlEntities(text).split('/').join('/') ), sanitizedLinkedText = DOMPurify.sanitize(escapedLinkedText); $plainText.html(sanitizedLinkedText); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index e2d9bc0..c777171 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -72,7 +72,7 @@ endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index 99f73cd..126c2a5 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -50,7 +50,7 @@ endif; ?> - +