Remove commas in titles

This commit is contained in:
Annika Backstrom 2022-05-21 22:34:24 +01:00
parent 1b4166d83a
commit b1f1a80500

View File

@ -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;