From 20735083b30b1572acd02594de1c9f758ac4958a Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Mar 2023 14:52:25 +0000 Subject: update bb_parse_b64_crypt() --- include/bbcode.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/bbcode.php b/include/bbcode.php index 6ec24fa0b..735f267c3 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -295,9 +295,11 @@ function bb_parse_b64_crypt($match) { if(empty($match[2])) return; - $r .= '----- ENCRYPTED CONTENT -----' . PHP_EOL; - $r .= $match[2] . PHP_EOL; + $r .= ''; + $r .= '----- ENCRYPTED CONTENT -----' . '
'; + $r .= $match[2] . '
'; $r .= '----- END ENCRYPTED CONTENT -----'; + $r .= '
'; return $r; -- cgit v1.2.3 From 2f5fa4df75526bcb343ba0d133b593095bcca7c3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Mar 2023 15:46:30 +0000 Subject: add the download attribute to prevent onbeforeunload --- view/tpl/cloud_directory.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index a851eb203..587adaeea 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -175,7 +175,7 @@ {{if $is_owner}} {{/if}} - {{$download_label}} + {{$download_label}} {{/if}} {{$delete_label}} -- cgit v1.2.3