Remove single quote in sanitized title

This commit is contained in:
Annika Backstrom 2022-05-24 18:43:24 +01:00
parent 859b660400
commit 96f16a33a1

View File

@ -49,7 +49,7 @@ foreach ($titles as $title) {
$sanitized_title = $title; $sanitized_title = $title;
$sanitized_title = strtolower($sanitized_title); $sanitized_title = strtolower($sanitized_title);
$sanitized_title = str_replace([' ', ','], ['-'], $sanitized_title); $sanitized_title = str_replace([' ', ',', '\''], ['-'], $sanitized_title);
$sanitized_title .= '.gmi'; $sanitized_title .= '.gmi';
$output_path = $gemlog_output_path . '/' . $sanitized_title; $output_path = $gemlog_output_path . '/' . $sanitized_title;