From b1f1a805001f3e86a8acc9c63276ffcded76f802 Mon Sep 17 00:00:00 2001 From: Annika Backstrom Date: Sat, 21 May 2022 22:34:24 +0100 Subject: [PATCH] Remove commas in titles --- run.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.php b/run.php index 40c6e2f..ebdeabe 100644 --- a/run.php +++ b/run.php @@ -36,7 +36,7 @@ foreach ($titles as $title) { } $sanitize_title = strtolower($title); - $sanitize_title = str_replace(' ', '-', $sanitize_title); + $sanitize_title = str_replace([' ', ','], ['-'], $sanitize_title); $sanitize_title .= '.gmi'; $output_path = $gemlog_output_path . '/' . $sanitize_title;