From 96eb694a1d20abfdcf1f6ca8df2d95089946121f Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 30 Jun 2022 01:43:54 +0100 Subject: [PATCH] Bugfix action-raw: add missing implode --- modules/action-raw.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/action-raw.php b/modules/action-raw.php index 88d2d19..46635cb 100644 --- a/modules/action-raw.php +++ b/modules/action-raw.php @@ -49,10 +49,10 @@ register_module([ header("content-type: text/markdown"); header("content-disposition: inline"); header("content-length: " . filesize($env->page_filename)); - header("x-tags: " . str_replace( + header("x-tags: " . implode(", ", str_replace( ["\n", ":"], "", $pageindex->{$env->page}->tags - )); + ))); exit(file_get_contents($env->page_filename)); });